Commit Graph

75472 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
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