Sergey Sharybin
61462ab2b4
Multires: Use more clear naming
...
There are so many reshapes now, and one more is to come.
Better be explicit.
2018-09-12 16:31:04 +02:00
Antonioya
9d0b7babd9
GP: Fix pressure jitter problem
...
The pressure was not used in jitter factor.
2018-09-12 15:32:22 +02:00
Bastien Montagne
0d0e8979ab
FIx T56758: Outliner - Select Hierarchy not working.
...
Reversed logical check on object's visibility...
2018-09-12 15:03:17 +02:00
Dalai Felinto
bf709f9d36
Fix T56759: Status bar not working for multi-objects nor object mode
2018-09-12 09:55:21 -03:00
Sergey Sharybin
f04ddd37ea
Cleanup, fullstops in comments
2018-09-12 14:39:08 +02:00
Sergey Sharybin
39fabaddfd
GPU: Remove residue of OpenSubdiv
...
Was done more like a hack on top of old drawing pipeline.
Should be re-implemented to fit new draw manager closer.
2018-09-12 14:30:28 +02:00
Campbell Barton
52baf87f1f
Cleanup: move theme versioning into own function
2018-09-12 19:59:28 +10:00
Antonioya
915c1f3a38
GP: Cleanup unused code
2018-09-12 11:43:44 +02:00
Campbell Barton
65e155d757
Cleanup: redundant assignment is later overwritten
2018-09-12 19:51:59 +10:00
Campbell Barton
e56c5dd982
Remove ifdef's default audio device
...
If we want to select an audio device based on build flags,
it should be done as a final step.
2018-09-12 19:49:25 +10:00
Sergey Sharybin
4464a86a6e
Merge branch 'master' into blender2.8
2018-09-12 11:30:35 +02:00
Campbell Barton
8f1027a58b
Fix Cycles issue moving versioning to blenloader
2018-09-12 19:32:54 +10:00
Sergey Sharybin
f088bbae6a
Cleanup: More correct terminology work
...
Matches threading API.
2018-09-12 11:04:42 +02:00
Antonioya
008ed839f4
GP: Fix problem with brush angle parameter
...
The angle was related to random settings, but this is wrong.
2018-09-12 10:37:17 +02:00
Campbell Barton
759ad6aa77
Cleanup: move preference versioning into own file
...
It's more convenient to keep version patching in the same place,
this also splits out some function calls from version patching
and supports updating UserDef structs besides the 'U'l global.
2018-09-12 18:24:08 +10:00
Campbell Barton
ec72b3e19b
Cleanup: remove BGE references
2018-09-12 17:29:13 +10:00
Campbell Barton
c13644c390
Cleanup: make shapekey functions local
...
Were only exposed for the BGE.
2018-09-12 17:27:22 +10:00
Campbell Barton
265b5238de
Merge branch 'master' into blender2.8
2018-09-12 16:21:00 +10:00
Campbell Barton
2597cd3998
Merge branch 'master' into blender2.8
2018-09-12 15:54:07 +10:00
Campbell Barton
a8c924423e
Cleanup: remove alpha_check variable from DNA
...
Just pass as an argument.
2018-09-12 15:48:00 +10:00
Campbell Barton
7eecc94074
Cleanup: use uint/uchar types in GPU
2018-09-12 12:19:46 +10:00
Campbell Barton
baca8344d9
Cleanup: use _len suffix
2018-09-12 12:07:35 +10:00
Campbell Barton
ef32be25c1
Fix scale-cage editmode pivot point
2018-09-12 07:27:48 +10:00
Campbell Barton
c350424014
Fix scale-cage refresh w/ view orientation
2018-09-12 07:27:46 +10:00
Clément Foucault
8eedccb3f5
Fix T56752: Tooltip flicker alpha on redraw
2018-09-11 22:11:15 +02:00
Campbell Barton
6c6c3bad02
Cleanup: style
2018-09-12 05:57:31 +10:00
Sergey Sharybin
d495916547
Multires: Fix memory leak on reshape
...
Was happening when number of vertices didn't match.
2018-09-11 17:37:14 +02:00
Clément Foucault
57f9e31bf4
DRW: Convert common theme color to linear for viewport render
...
This is not 100% correct (it should use a transfer function depending
on the display profile) but this is already much better than using srgb.
2018-09-11 17:05:16 +02:00
Sergey Sharybin
3fbdcefa17
Subdiv: Initial implementation of CCG
...
Attempts to substitude CCGDM with an OpenSubdiv based structure
which has less abstraction levels. The missing part in this
substitude is a face pointers which old CCGDM/multires code was
using to stitch faces (averaging boundaries).
Another curial bit missing: "reshaping" of multires CD_MDISPS
to the state of new PBVH grids.
The new code is only available when OpenSubdiv modifier is
enabled (WITH_OPENSUBDIV_MODIFIER=ON) and with debug value of
128. This is so this WIP code is not interfering with current
production machines in the studio.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3685
2018-09-11 16:37:02 +02:00
Clément Foucault
998a804358
DRW: Don't highjack all debug values (cont)
2018-09-11 16:34:52 +02:00
Clément Foucault
1a590c7a1c
DRW: Don't highjack all debug values
2018-09-11 16:27:55 +02:00
Brecht Van Lommel
19082763dd
Fix workspace order and shortcut keys not matching.
2018-09-11 16:21:00 +02:00
Clément Foucault
5a7c3d5a08
Eevee: Prepare for fullres tracing
2018-09-11 16:15:43 +02:00
Clément Foucault
aa5c543a7f
Eevee: Fix downsampling shader with textureGather
...
This was leading to issues with all raytracing and AO algorithm.
Fix T55619
2018-09-11 16:15:43 +02:00
Clément Foucault
766d9c2937
GPUMaterial: Fix issue with coloramp and constant interpolation
...
It was not respecting the clamp to edge texture param because we use
texelFetch directly in this case.
2018-09-11 16:15:43 +02:00
Luca Rood
9ac72ab69d
Cloth: Fix mistake in recent angular bending commit ( b6f0f8a5b5)
...
The angular spring force computation function was being called even in
linear mode, with empty angular springs.
2018-09-11 16:09:45 +02:00
Sergey Sharybin
eaf993ad94
Followup for previous PBVH commit
...
Didn't realize the index buffer is stored once in a BVH
and same pointer is reused. Surprisingly, simple files
were fixed with the previous fix.
Now disabled the optimization all together, and it was
simpler to just completely remove all residue of the
code. It is likely to be a different implementation
anyway, so no need to try to keep code in a semi-broken
state.
2018-09-11 15:34:09 +02:00
mano-wii
cde66d7916
GPUVertBuf.fill: support for objects with buffer interface.
...
Differential Revision: https://developer.blender.org/D3684
2018-09-11 10:03:53 -03:00
Sergey Sharybin
8dde1e13e2
FIx/workaround wrong number of primitives in PBVG grid buffers
...
Nodes can have different number of grids, so can not so simply
re-use index buffer across nodes. For now allow re-using buffer
if number of grids matches.
The issue is, number of grids is probably almost never matches,
so in order to have this optimization working need more tricks.
Maybe we can "instance" index buffers?
2018-09-11 14:45:13 +02:00
Campbell Barton
7951adfb9c
UI: fix redo panel becoming permanently hidden
2018-09-11 22:39:38 +10:00
Brecht Van Lommel
a1651ddc98
Build: require OpenJPEG 2.x minimum, remove bundled version.
...
* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already
the case for macOS and Windows.
* This should not break existing Linx builds. If there is no new enough
OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG
will be disabled.
* install_deps.sh was updated with new package names, since distributions
put this version in a new package.
Differential Revision: https://developer.blender.org/D3663
2018-09-11 12:45:05 +02:00
Brecht Van Lommel
e1178266e7
Workspace: support reordering of workspaces from RMB menu.
...
Drag and drop will follow later, it's a bit complicated to make this work
reliable in the current UI code.
2018-09-11 12:43:28 +02:00
Brecht Van Lommel
6acf8642e5
Cleanup: remove unused GPU code.
2018-09-11 11:53:56 +02:00
Sergey Sharybin
7c64f8537f
PBVH: Fix miossing normals for grids
2018-09-11 11:50:22 +02:00
Antonioya
43abc5dabf
GP: Use original datablock and not evaluated version
...
This is required to avoid COW delay while drawing.
2018-09-11 10:33:29 +02:00
Campbell Barton
17e57859e7
Error in last commit
2018-09-11 16:37:56 +10:00
Campbell Barton
f34a2af4b3
Fix scale cage tool never using object boundbox
2018-09-11 16:22:30 +10:00
Campbell Barton
0117a4c351
Cleanup: use UI_ prefix for block flag
2018-09-11 15:08:08 +10:00
Campbell Barton
bdf215ca82
Merge branch 'master' into blender2.8
2018-09-11 15:01:41 +10:00
Campbell Barton
6bf003bce0
Correct own error in recent transform orientation changes
2018-09-11 15:00:50 +10:00