Commit Graph

80267 Commits

Author SHA1 Message Date
Campbell Barton
e103618b28 Cleanup: move cycles addon check out of versioning 2018-09-13 08:00:05 +10:00
Campbell Barton
07ab3eec01 Cleanup: style 2018-09-13 07:51:59 +10:00
Campbell Barton
2a14807f39 Merge branch 'master' into blender2.8 2018-09-13 07:50:45 +10:00
Campbell Barton
6873f47ede Cleanup: GCC ignored qualifier warning 2018-09-13 07:42:38 +10:00
Antonioya
df289785b3 GP: Delete invisible points when use soft eraser 2018-09-12 21:26:07 +02:00
Ines Almeida
32a461adf2 Shader Editor: tweak when the UI for managing the material is enabled
- disable the UI if the currently selected object does not support materials.
- add Metaballs and GPencil as types supporting material.
2018-09-12 20:07:03 +02:00
Bastien Montagne
2ab1063616 Fix T56662: Autocomplete for texture slot Crash (in console).
That pointer can be NULL, RNA default string handling does not support
that. (that whole uv_layer prop is quite nasty actually, since it does
not own that string, always borrows it from some other data :((( ).
2018-09-12 18:31:14 +02:00
Bastien Montagne
2e07af36fd Fix T56763: Removing driver variable crashes Blender.
Rebuilding depsgraph is not enough, with COW we also need to ensure COW
copies get updated accordingly.

Had to tweak the generic update system here, since it was always passed
a NULL pointer for the callback arg, this should not change existing
behavior (besides crash fixing ;) )...
2018-09-12 17:48:02 +02:00
Antonioya
6a20e2653e GP: Reduce factor of thickness for soft eraser 2018-09-12 17:06:37 +02:00
Antonioya
84e9dbe38b GP: Improve SOFT eraser to affect strength and less to thickness 2018-09-12 16:55:27 +02:00
Sergey Sharybin
57b50f75f9 Cleanup: Spelling mistakes
Pointed by John Roper and Ray Molenkamp.
2018-09-12 16:32:18 +02:00
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
Antonioya
6018a3b4e8 GP: Hide panels for eraser brushes 2018-09-12 15:18:23 +02:00
Antonioya
b172209b4b GP: Remove brush type from panel
The brush type is get from previous brush
2018-09-12 15:18: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
Sergey Sharybin
721c691a27 Merge branch 'master' into blender2.8 2018-09-12 12:29:19 +02:00
Sergey Sharybin
aa844ad676 Cycles: Don't allocate Extra if BSDF allocation failed
Failed as in did not allocate due to possibly weight cutoff.
Tryign to allocated Extra storage for closure in such situation
will consfuse Cycles and cause crashes later one due to obscure
values in ShaderData.
2018-09-12 12:28:55 +02:00
Bastien Montagne
e9ffe93350 Fix T56766: Bake Action Visual Keying Not Working.
Consequences of new requirement to use named keywords parameters for our
RNA API... Hopefully fixed all other cases in that file as well, but
guess we'll find more of those in comming weeks. :|
2018-09-12 11:52:06 +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
Sergey Sharybin
a3241a8ff7 CMake: Fix compilation with Bullet enabled
Obvious bug in recent CName cleanup commit, while BGE library
was indeed mentioned on that line it was to put Bullet libraries
after all the other libraries.

One day we should really switch to a CMake dependency graph to
take care of library dependencies.
2018-09-12 10:34:53 +02:00
Antonioya
cf376bc451 GP: Change UI panel parameter smooth order 2018-09-12 10:17:18 +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
e6540ec175 Merge branch 'master' into blender2.8 2018-09-12 16:28:50 +10:00
Campbell Barton
2e36a1809f CMake: add openjpeg 2x search paths
Wasn't finding the include path by on Linux.
2018-09-12 16:26:15 +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
Campbell Barton
18986160a5 Tool System: show bisect tool options 2018-09-12 06:36:26 +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