95be6826e3
Data Transfer Modifier: fix mesh_get_eval_final usage.
...
It can't be used during modifier evaluation, and rna
enum code should access the evaluated objects.
2018-12-03 17:01:02 +03:00
1983a52e04
Depsgraph: assert that mesh_get_eval_final/deform aren't used in eval.
...
Using those functions during multithreaded evaluation is a sure
way to have a race condition and crash.
2018-12-03 17:01:02 +03:00
764e937d1a
Fix T58258: Select Objects in Collection not working
...
Maniphest Tasks: T58258
Differential Revision: https://developer.blender.org/D4023
2018-12-03 14:19:52 +01:00
40f4343679
3D View: remove non tool-system ruler
...
There was duplicate code for the ruler being accessed
as a tool and an operator.
Remove the modal operator code in favor of tool access.
2018-12-03 21:21:36 +11:00
1ac7a840f6
Fix T58594: Modal circle select can't select & de-select
2018-12-03 19:32:42 +11:00
d89faac7d2
Merge branch 'master' into blender2.8
2018-12-03 19:31:54 +11:00
63d0ea8ecf
Fix T58535 Crash on Load
...
The particles was not ready when the drawing cache try to use it.
2018-12-03 09:12:29 +01:00
6bb825e083
Fix T54580: Pointer buttons skip undo push
2018-12-03 18:43:33 +11:00
599f6c791a
Merge branch 'master' into blender2.8
2018-12-03 18:07:50 +11:00
be2e549111
Use scene active object for sculptmode enter/exit calls
...
Match logic in previous commit.
2018-12-03 18:00:20 +11:00
f32dfd0819
Fix T56331: Undo crash w/ sculpt on hidden layer
2018-12-03 17:42:26 +11:00
2df86ca967
Fix T56642: 3D view gizmo orientation wont update
2018-12-03 16:52:21 +11:00
ffdc1f8924
Cleanup: warning, style
2018-12-03 16:50:50 +11:00
81c2fd25e5
Fix T58528: Assign material skips non-active
2018-12-03 15:53:31 +11:00
ff3601b9ae
Fix/workaround T58368: Crash w/ mapped mesh + autosmooth
2018-12-03 14:58:29 +11:00
085e5765df
Cleanup: remove flag from GizmoCommonData
...
Use struct member instead,
there are already many gizmo flags to keep track of.
2018-12-03 13:01:04 +11:00
4978ef5ed5
Fix T58573: Camera lens gizmo error on click
2018-12-03 12:55:55 +11:00
a205493426
Fix camera lens gizmo sensor comparison
2018-12-03 11:27:22 +11:00
cf18eb2de3
Fix T56996: MacOS: Lagging when rotating the view
...
It happens on multiple configuration so we cannot isolate the fix to only
some config.
Thanks Hugo Lamarche for helping finding the fix.
2018-12-02 22:35:15 +01:00
756df74fca
Fix T58101 : Image empties are only rendering their border when using MSAA
2018-12-02 20:11:40 +01:00
c44a203aa7
Texture Paint: fix fast selection update to also work without modifiers.
...
If there are no (non-deform) modifiers, the evaluated mesh simply
shares arrays with the base COW copy instead of having CD_ORIGINDEX.
2018-12-02 20:05:53 +03:00
4ee29d3fdf
GP: Fix line primitive when using to square behaviour
...
Previously the shift key for line primitives only allowed diagonals.
This change allows the line to constrain to vertical and horizontal lines.
Differential Revision: https://developer.blender.org/D4012
2018-12-02 14:44:50 +00:00
ebfea8c2bb
Fix texture previews not updating when parameters are changed.
...
Maybe there is a more correct way, but this works for now.
2018-12-02 14:57:52 +03:00
71c624dcd8
Partial fix for T58113 bevel harden normals bug.
...
This fixes the problem where not all faces got hardened properly
when using a hardening mode in the bevel modifier.
2018-12-02 06:29:58 -05:00
925380050d
Keymap: fix error in recent enum-menu support
2018-12-02 15:09:15 +11:00
55b31dd98c
Merge branch 'master' into blender2.8
2018-12-02 14:37:04 +11:00
335e1b507b
Cleanup: BKE b-bone API naming
...
Use BKE_pchan_bbone prefix.
2018-12-02 14:29:54 +11:00
2e392a0fdc
Merge branch 'master' into blender2.8
2018-12-02 14:16:09 +11:00
c00e1f68e9
Cleanup: BKE_effect.h naming
2018-12-02 14:14:51 +11:00
28b83b34d4
Fix T57455: Fix faulty gpu detection
2018-12-02 03:49:54 +01:00
2c6f767452
Add missing include
2018-12-02 13:12:06 +11:00
40d0374411
Fix T57455: Laggy, freezing UI with Linux and Intel UHD 620
...
Seems like a driver bug but doing glFlush() before these calls fixes it.
2018-12-02 01:57:30 +01:00
8c620c8e2b
Optimize ghash usage
...
Avoid double hash calculation.
2018-12-02 10:15:22 +11:00
d3940c2211
Fix button data access for python context menus
...
D4016 by @raa
2018-12-02 10:15:22 +11:00
783d8d4adf
Workbench: Don't use alpha channel if not doing render
...
Lower Vram usage a bit
2018-12-01 20:38:52 +01:00
505309f659
WM: Optimization: Don't clear the window color buffer
...
This is not needed and is rather costly.
Can be reverted if that causes problem.
2018-12-01 20:38:52 +01:00
d55c269dd1
UI: Simplify the area border drawing
...
Instead of doing a lot of alpha blended drawing with jittering, use the
fragment shader to do the masking using a circle mask.
This is much simpler and requires much less resources.
Hopefully this may solve the issue we have with the Intels UHD Graphics 620
on linux.
2018-12-01 20:38:52 +01:00
6a80a786f8
Fix T58433: Limit Distance constraint distance not auto-computed.
...
Another case of a value that needs to be written back to non-COW copy.
2018-12-01 20:02:14 +03:00
18f0618677
Fix T58412: in weight paint + pose mode certain armature operations crash.
...
The cause is that FOREACH_OBJECT_IN_MODE_BEGIN assumed that the active
object is in the correct mode, which is wrong in this case. It also
only considered objects of the same type as active, which had to be
replaced with an explicit type parameter.
2018-12-01 19:44:24 +03:00
9ed522db73
Fix more cases of evaluated mesh being built for non-COW objects.
2018-12-01 19:09:09 +03:00
dbb479b998
fix: Collada exporter has similar issue as reproted in T58150
2018-12-01 15:38:18 +01:00
0606829850
fix T58293 Collada: Does not export Texture coordinates when option 'only selected UV Map' is enabled
2018-12-01 14:18:35 +01:00
02a4fc1395
Texture Paint: implement efficient face selection updates.
...
Fix the old code that propagates selection changes to the
evaluated mesh directly without rebuilding, and avoid tagging
DEG_TAG_COPY_ON_WRITE if it succeeds.
2018-12-01 15:40:48 +03:00
ee8a2edb96
Fix usage of mesh_get_eval_final in vertex selection.
...
It's a very bad idea to call this on non-COW instances - see T58150.
Also, when rebuilding mesh it's better to accumulate mask flags to
avoid possible repeated rebuilds from different users.
2018-12-01 14:46:55 +03:00
47ef301c76
Texture Paint: fix face selection with subsurface.
2018-12-01 14:38:11 +03:00
b0ec08cfa1
Texture Paint: emulate subsurf optimal display in paint mode wireframe.
...
The wireframe is intended for showing selected faces, and selection is
based on original faces, so the extra wireframe lines are pure noise.
2018-12-01 13:44:29 +03:00
3bd057d472
Texture Paint: fix wireframe and hiding not working with subsurf.
...
The editflag field is only valid in the original mesh instance.
2018-12-01 13:20:18 +03:00
bfcd25b313
Texture Paint: avoid rebuilding evaluated mesh on first stroke.
...
Ensure all relevant CustomDataMask bits are set during normal evaluation.
2018-12-01 12:12:35 +03:00
32d46f7de6
Fix camera gizmo sensor check
...
Also correct wrong but harmless assignment.
2018-12-01 19:57:43 +11:00
2699ababa9
Cleanup: style
2018-12-01 19:55:52 +11:00