Campbell Barton
f35ef57c8c
Revert "Fix invalid area tool being set from message passing"
...
This reverts commit 9ec8887599 .
Causes assert when selection changes modes.
2019-06-28 19:38:44 +10:00
Brecht Van Lommel
6f0de2328c
Fix OpenMP library for tests on macOS
2019-06-28 11:22:33 +02:00
Campbell Barton
9bcab8050f
Fix T63694: Crash using tool gizmos with multiple windows
...
Gizmo group types now store a user count so they aren't unlinked
while other tools are using them.
The tool system now works with multiple windows.
2019-06-28 18:22:53 +10:00
Sergey Sharybin
eac11046a1
Fix T62990: Selecting bones causes pose to be re-evaluated
2019-06-28 10:13:57 +02:00
Sergey Sharybin
2110f4a76c
Fix T66105: Changing force field does not update simulation
2019-06-28 09:48:44 +02:00
Campbell Barton
37d5d10849
Fix T66200: Changing workspaces / modes doesn't update tools
...
Changing the workspace or mode from one window may need to change the
active tool in another window since two different workspaces
may share an object.
2019-06-28 17:43:14 +10:00
Campbell Barton
9ec8887599
Fix invalid area tool being set from message passing
...
This wasn't working with multiple windows,
WM_toolsystem_do_msg_notify_tag_refresh could use a workspace
from a different window to the screen that owned the area.
Instead of fixing, remove these since they aren't needed anymore
since changing modes now refreshes the tool system.
2019-06-28 17:38:42 +10:00
Jeroen Bakker
bd227d1378
install_deps: Bumped OSL version to 3.4.0_RC2
2019-06-28 08:38:34 +02:00
Campbell Barton
83d92f55b8
Fix error for tools that share gizmo types doubling up gizmos
...
Introduced in recent commit c93af8529d
2019-06-28 11:27:11 +10:00
Campbell Barton
651e574153
Cleanup: unused var, sort structs
2019-06-28 10:07:21 +10:00
Antonioya
5dd8c3f0cb
GPencil: Cleanup commented lines from previous commit
2019-06-27 23:28:44 +02:00
Antonioya
d06671b3d9
GPencil: Don't hide Cursor while drawing
...
This is a partial solution for T62446 while we prepare a way to hide the cursor all the time.
2019-06-27 23:19:05 +02:00
Antonioya
b5a1a2d186
GPencil: Fix missing Fill area when drawing an stroke
...
There was a mistake in the shading group name.
2019-06-27 19:34:04 +02:00
Brecht Van Lommel
b2c92d90c8
Cleanup: fix compiler warnings
2019-06-27 19:11:19 +02:00
Sebastian Koenig
c187fc09b6
Masking: make image editor UI consistent with clip editor
...
* Mask Display menu is now part of the header
* Sidebar now has a separate Mask tab
* Add context menu when in mask mode
Differential Revision: https://developer.blender.org/D5102
2019-06-27 19:11:19 +02:00
William Reynish
1cd11c9d75
Fix T66166: NLA invisible source list selection
2019-06-27 18:22:34 +02:00
mano-wii
7ee5ea7751
Fix T65010: Affect options not being displayed in the UV editor snap settings.
...
Reviewers: brecht, billreynish
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5141
2019-06-27 12:24:03 -03:00
Clément Foucault
c5eceb3582
Cleanup: EditMode: Remove uneeded shader depth bias
...
The bias is done using the DRWView now, no need to double it.
2019-06-27 17:02:22 +02:00
Clément Foucault
19d90c8602
Fix T66119: Assert editing Lattice
2019-06-27 17:02:22 +02:00
Clément Foucault
4b124143b1
ObjectMode: Fix selection points of LightGrids
2019-06-27 17:02:22 +02:00
Clément Foucault
c74ccf6a97
DRW: Fix point shaders not using gl_PointSize
...
All Shaders inside DRW should use gl_PointSize.
2019-06-27 17:02:22 +02:00
Antonioya
58996e3057
Cleanup: GPencil remove DRW_ prefix for internal functions.
...
The prefix DRW_ must be used only for modules inside Draw Manager and not in the Engines.
2019-06-27 16:42:38 +02:00
Sergey Sharybin
91e00bd703
Fix compositor preview not respecting un-keyed changes
...
This is a part of T66099.
2019-06-27 16:21:18 +02:00
Antonioya
ccfb98511b
GPencil: Fix Control points of primitives clampoed by Stencil
...
The control points were clamped to the stroke thickness due the last stencil change.
Now, the shading group is not clamped.
2019-06-27 16:05:58 +02:00
Sergey Sharybin
658aa00718
Build environment: Update OpenSubdiv to 3.4.0 RC 2
...
Newer OpenSubdiv brings fixes and improvements for non-manifold meshes,
which fixes some crashes we've experienced in the recent past when using
Gregory patches.
Additionally, thing new version of OpenSubdiv brings sparse patches,
which allows to multi-thread topology refinement step.
2019-06-27 15:15:08 +02:00
Clément Foucault
2a22b8af04
Eevee: Make use of dual source blending for volumetric resolve
...
This simplify the code and add an example use of dual source
blending.
2019-06-27 14:41:35 +02:00
Clément Foucault
1f4e9754c0
DRW: Add DRW_STATE_BLEND_CUSTOM
...
This one enable dual source blending, enabling more fine tuned
blending parameters inside the shader.
2019-06-27 14:41:35 +02:00
Campbell Barton
7f5a21177a
Cleanup: de-duplicate flag checks for button colors
2019-06-27 21:20:29 +10:00
Jeroen Bakker
0f983e8540
Fix T65893: Edit Mesh Culling
...
The edit mesh is culled by object. When the object is not visible on
screen, the edit mesh may still be visible. This change will not cull the
edit mesh anymore.
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D5144
2019-06-27 12:53:17 +02:00
Brecht Van Lommel
5eb156e769
Fix T66171: Cycles OSL trace() crashing in displacement shaders
...
This is not supported, meshes do not exist in the BVH before displacement.
2019-06-27 12:46:04 +02:00
Brecht Van Lommel
6f516fcc63
Tests: speed up render tests by running multiple in the same process
...
Blender startup time and shader compilation is a big factor when running
hundreds of tests, so now all renders in the same ctest run in the same
process.
This was previously reverted due to skipping other tests when one test
crashed. Now if a test crashes, Blender is re-run with the remaining
tests so we get results from them still.
2019-06-27 12:46:04 +02:00
Campbell Barton
219a10e46a
Cleanup: clarify WM_gizmoconfig function naming
2019-06-27 19:58:59 +10:00
William Reynish
1c60f30d04
Fix: Text Location lost X/Y text
...
Use PROP_XYZ instead, and user Slider=True to make them display as sliders in the UI
2019-06-27 11:15:56 +02:00
Campbell Barton
c93af8529d
Tool System: don't unlink gizmos when changing tools
...
Needed for tools not to unlink each other with multiple windows.
2019-06-27 18:48:45 +10:00
Campbell Barton
3366b333e4
Fix switching tools with multiple windows & gizmos
...
The gizmo would only added if the gizmo type wasn't already linked.
2019-06-27 17:22:05 +10:00
Campbell Barton
d3f9a722fe
Cleanup: error in last commit
2019-06-27 16:48:48 +10:00
Campbell Barton
4758b4033e
Cleanup: remove unused context check in toolsystem_ref_link
...
Also comment corrections.
2019-06-27 16:40:25 +10:00
Campbell Barton
3128fe4591
Tool System: don't unlink tools when changing workspaces
...
Caused gizmos to be lost with multiple main windows whenever one of them
switched workspaces.
Rely on tool gizmos poll function to unlink to gizmo.
2019-06-27 11:13:17 +10:00
Antonioya
155c62b070
Cleanup: GPencil Clarify comment
2019-06-26 21:03:34 +02:00
Antonioya
96af590d58
GPencil: Change HSV modifier to use the same range of parameter that other areas of Blender
...
The value of the Hue must be between 0 and 1, but the value was between 0 and 2.
2019-06-26 20:58:30 +02:00
Antonioya
69b3c26e75
GPencil: Change "lock_material" tooltip and text
...
The old name was not clear. Detected while writting the manual.
2019-06-26 20:58:30 +02:00
Sergey Sharybin
d93558e914
Make deps: Fix detection/linking of PugiXML on Linux
...
This time both full `make deps` and final compilation is tested on
a freshly installed CentOS 7.
The thing is: OpenImageIO is not configured to use an external PugiXML
library, so it was compiling its own.
At the same time the OpenShadingLanguage library was commanded to use
an externally compiled PugiXML. This caused some sort of discrepancy
which lead to Blender-link-time errors. Could be linking error, could
be namespace related, could be ABI related. In any case since we do
have PugiXML in the OpenImageIO already lets just stick to it.
2019-06-26 19:50:38 +02:00
Sergey Sharybin
a7e32dbcb0
Buildbot: Fix undefined architecture string for CentOS
2019-06-26 19:40:46 +02:00
Sergey Sharybin
b98428e046
Buildbot: Fix undefined bits for CentOS based builder
2019-06-26 19:37:17 +02:00
Brecht Van Lommel
171e0d4283
Fix T66141: missing viewport texture update after find missing files
2019-06-26 19:36:17 +02:00
Sergey Sharybin
14de0d6a5d
Buildbot: Fix pack stage for CentOS based builder
2019-06-26 19:35:10 +02:00
Sergey Sharybin
ae396912fb
Buildbot: Fix scl command prefix
...
Now it should work correct with command passed as an individual
elements of a list.
2019-06-26 18:07:03 +02:00
andreas atteneder
28f472472b
Fix typo pratially breaking node shader wrapper (used by IO add-ons).
...
Reported with patch as D5140 by andreas atteneder (@atti), thanks!
2019-06-26 17:57:07 +02:00
Sebastian Parborg
6e016a451e
Revert "Fix T63921: Unable to use confirm on release for keyboard shortcuts"
...
This reverts commit 30bf48c9ca .
2019-06-26 17:55:47 +02:00
Sergey Sharybin
81b11b795c
CMake: Cleanup, remove explicit Python version
...
This is now coming from a common CMake configuration.
2019-06-26 16:19:49 +02:00