blender.git
15 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 7 May 2018 12:20:47 +0000 (14:20 +0200)]
Merge branch 'master' into blender2.8

15 months agoSilence compilation error around possible fall-through
Sergey Sharybin [Mon, 7 May 2018 12:19:12 +0000 (14:19 +0200)]
Silence compilation error around possible fall-through

15 months agoFix wrong comparison of drop target URI on X11
Sergey Sharybin [Mon, 7 May 2018 12:08:33 +0000 (14:08 +0200)]
Fix wrong comparison of drop target URI on X11

Need to compare, NOT to override passed file name.

15 months agoFix crash in debug drawing of fullscreen exit icon
Julian Eisel [Mon, 7 May 2018 11:46:00 +0000 (13:46 +0200)]
Fix crash in debug drawing of fullscreen exit icon

Steps to recreate were:
* Go into fullscreen mode (Alt+F10)
* Open debug menu (Ctrl+Alt+D)
* Set value to 1
* Confirming should crash (at least in debug builds)

15 months agoRemove alternative action-zone drawing for collapsed regions
Julian Eisel [Mon, 7 May 2018 11:26:48 +0000 (13:26 +0200)]
Remove alternative action-zone drawing for collapsed regions

Was hidden behind debug values 1, 2 and 3.

Also cleaned up logic in region_azone_edge_initialize. It was using a variable
called is_hidden that actually should've been called is_visible.

15 months agoEevee: Hair: Fix wrong color when shader is compiling.
Clément Foucault [Mon, 7 May 2018 11:06:57 +0000 (13:06 +0200)]
Eevee: Hair: Fix wrong color when shader is compiling.

15 months agoArmature: Fix BBones base face winding.
Clément Foucault [Mon, 7 May 2018 10:27:59 +0000 (12:27 +0200)]
Armature: Fix BBones base face winding.

Was producing wrong outline and backface culling.

15 months agoArmature: Remove big outlines for active bones & reduce axes color.
Clément Foucault [Mon, 7 May 2018 10:23:15 +0000 (12:23 +0200)]
Armature: Remove big outlines for active bones & reduce axes color.

15 months agoFix Bevel percent mode bug 54228
Howard Trickey [Mon, 7 May 2018 11:04:12 +0000 (07:04 -0400)]
Fix Bevel percent mode bug 54228

Previous new adjust pass commit should have excluded percent mode.

15 months agoFix T54324: remove stencil entries from weight paint keymap
Philipp Oeser [Mon, 7 May 2018 10:28:15 +0000 (12:28 +0200)]
Fix T54324: remove stencil entries from weight paint keymap

Reviewed By: mont29

Differential Revision: http://developer.blender.org/D3178

15 months agoModifier stack: move Edge Split to new Mesh-based system.
Bastien Montagne [Mon, 7 May 2018 10:26:42 +0000 (12:26 +0200)]
Modifier stack: move Edge Split to new Mesh-based system.

15 months agoModifier stack: Fix broken 'dirty normals' flag for new mesh-aware modifiers.
Bastien Montagne [Mon, 7 May 2018 10:24:23 +0000 (12:24 +0200)]
Modifier stack: Fix broken 'dirty normals' flag for new mesh-aware modifiers.

Since modifier stack is still primarily based on DM in blender2.8, we
need to copy over 'dirty normals' flag from temp Mesh to DM after
modifier has been evaluated.

15 months agoFix T54324: remove stencil entries from weight paint keymap
Philipp Oeser [Mon, 7 May 2018 10:28:15 +0000 (12:28 +0200)]
Fix T54324: remove stencil entries from weight paint keymap

Reviewed By: mont29

Differential Revision: http://developer.blender.org/D3178

15 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 7 May 2018 10:26:06 +0000 (12:26 +0200)]
Merge branch 'master' into blender2.8

15 months agoFix T54594: Lattice with Armature modifier not updating correctly
Sergey Sharybin [Mon, 7 May 2018 10:04:50 +0000 (12:04 +0200)]
Fix T54594: Lattice with Armature modifier not updating correctly

15 months agoUI: Hide & shrink scroll-bars based on cursor position
Julian Eisel [Sun, 6 May 2018 23:31:18 +0000 (01:31 +0200)]
UI: Hide & shrink scroll-bars based on cursor position

Scroll-bars are now hidden unless the cursor approaches them, in which case they
smoothly grow and become more & more visible. Note that since 0d309144020168e55,
scroll-bars are drawn on top of editor contents. There's no more jumping of
buttons when scroll-bars appear.

Technical notes:
* AZones are used to adjust scrollbars based on mouse movements

  We may want to support screen level AZones if we want scrollbars to also
  smoothly appear when approaching them from a different area.
  I also plan to make further changes to AZones to clean up stuff a bit.
* Had to move AZone handling to a post ARegion init stage, since we need the
  updated View2D data from there.
* View2D masks and scroller rectangles are now updated on every redraw. It's
  cheap to do that though.

15 months agoUI: Draw scroll-bars overlapping with editor content
Julian Eisel [Thu, 26 Apr 2018 22:49:00 +0000 (00:49 +0200)]
UI: Draw scroll-bars overlapping with editor content

Scroll-bars used to draw in a little extra space in the editor, causing
buttons to jump a bit when they appeared/disappeared. Now they draw on
top of the buttons, just small enough to avoid bigger overlaps. Followup commits
will do further adjustments.

With this we can get rid of a hack that was calling the (often Python
defined) panel definition - the panel 'draw' callback - twice.

15 months agoMulti-object edge collapse
Dalai Felinto [Mon, 7 May 2018 09:26:00 +0000 (11:26 +0200)]
Multi-object edge collapse

15 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Mon, 7 May 2018 09:15:31 +0000 (11:15 +0200)]
Merge branch 'master' into blender2.8

15 months agoFix T54966: mathutils.noise.voronoi Memory leak
Bastien Montagne [Mon, 7 May 2018 09:07:11 +0000 (11:07 +0200)]
Fix T54966: mathutils.noise.voronoi Memory leak

C code was not correctly handling release of temp data, not technically
a memory leak, but indeed rather annoying bug! ;)

15 months agoArmature: Add back relationship lines.
Clément Foucault [Sun, 6 May 2018 22:24:30 +0000 (00:24 +0200)]
Armature: Add back relationship lines.

15 months agoObject Mode: Use stipple shader for relationship lines.
Clément Foucault [Sun, 6 May 2018 22:22:03 +0000 (00:22 +0200)]
Object Mode: Use stipple shader for relationship lines.

15 months agoReset number values when entering an empty value
Dalai Felinto [Sun, 6 May 2018 17:30:47 +0000 (19:30 +0200)]
Reset number values when entering an empty value

Note: This rely on the property having a pre-defined default.

Also, be aware that trying to multi-drag and multi-ui-edit is not working
at the moment (T54976).

With changes by Campbell Barton.

Differential Revision: https://developer.blender.org/D3207

15 months agoRNA default: Scene start/end frames
Dalai Felinto [Sun, 6 May 2018 17:31:16 +0000 (19:31 +0200)]
RNA default: Scene start/end frames

15 months agoFix wrong header alignment in user preferences, after recent commit.
Brecht Van Lommel [Sun, 6 May 2018 19:23:53 +0000 (21:23 +0200)]
Fix wrong header alignment in user preferences, after recent commit.

15 months agoUI: fix popover menus sometimes going off screen, after recent commit.
Brecht Van Lommel [Sun, 6 May 2018 18:43:02 +0000 (20:43 +0200)]
UI: fix popover menus sometimes going off screen, after recent commit.

15 months agoUI: keep header top/bottom alignment the same when switching editor types.
Brecht Van Lommel [Sun, 6 May 2018 18:20:40 +0000 (20:20 +0200)]
UI: keep header top/bottom alignment the same when switching editor types.

15 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Sun, 6 May 2018 18:15:14 +0000 (20:15 +0200)]
Merge branch 'master' into blender2.8

15 months agoUI: fixes for 3D viewport popovers moving / flipping on edits.
Brecht Van Lommel [Sun, 6 May 2018 16:08:27 +0000 (18:08 +0200)]
UI: fixes for 3D viewport popovers moving / flipping on edits.

* Ensure popover does not change direction or location.
* Open popover towards the relevant editor, like pulldown menus.
* Use a bigger maximum assumed size to deal with some corner cases.
* Do proper 3D viewport header refresh on shading mode changes.

15 months agoCleanup: deprecate area.headertype.
Brecht Van Lommel [Sun, 6 May 2018 16:36:54 +0000 (18:36 +0200)]
Cleanup: deprecate area.headertype.

This was still used in a few places but not kept in sync with the actual
header position. Always get alignment from the header region now.

15 months agoNodes: show node labels (like image name) in material properties node view.
Brecht Van Lommel [Mon, 19 Feb 2018 13:39:27 +0000 (14:39 +0100)]
Nodes: show node labels (like image name) in material properties node view.

15 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 6 May 2018 16:35:39 +0000 (18:35 +0200)]
Merge branch 'master' into blender2.8

15 months agoArmature: Add a special Pass for bone axes.
Clément Foucault [Sun, 6 May 2018 16:36:27 +0000 (18:36 +0200)]
Armature: Add a special Pass for bone axes.

In object mode, the axes are drawn like any other wire objects with
depth test and depth write. Thus enabling MSAA to work but not their xray
behaviour.

In edit armature/pose mode, draw smooth line without depth testing. This
produces wrong draw ordering problem but still gives the desired xray
behaviour. We do it outside of the MSAA pass since the xray behaviour is not
compatible with it. But we are drawing smoothed lines so no need for MSAA.
The lines are 2px thick and improve readability.

15 months agoArmature: Fix bone axes not using bone color.
Clément Foucault [Sun, 6 May 2018 16:29:49 +0000 (18:29 +0200)]
Armature: Fix bone axes not using bone color.

15 months agoArmature: Put passes in a struct easier to pass around.
Clément Foucault [Sun, 6 May 2018 16:28:11 +0000 (18:28 +0200)]
Armature: Put passes in a struct easier to pass around.

15 months agoDRW: Add DRW_STATE_WIRE_SMOOTH to draw smooth wires.
Clément Foucault [Sun, 6 May 2018 16:23:53 +0000 (18:23 +0200)]
DRW: Add DRW_STATE_WIRE_SMOOTH to draw smooth wires.

This is only useful if depth test/wire is disabled.

15 months agoArmature: Fix/Change bone axes display.
Clément Foucault [Sun, 6 May 2018 14:09:25 +0000 (16:09 +0200)]
Armature: Fix/Change bone axes display.

Now the axes are displayed correctly at the tip of the bone and with the
axes names.

I've made some modifications though:
- Axes are colored. (should not be in object mode but that's TODO)
- Axes ends are not flat arrows anymore. Replaced with a small diamond.
- Axes names are now scale by their respective axes instead of being
  affected by other axes.
- Changed axes names "font" to be a bit more sexy.

15 months agoCleanup: split rotation_from_view
Campbell Barton [Sun, 6 May 2018 16:32:18 +0000 (18:32 +0200)]
Cleanup: split rotation_from_view

Add a function that takes only a quat, instead of the 3D view.

Allows for using non-view orientations.

15 months agoFix update for manipulator w/ 3D cursor change
Campbell Barton [Sun, 6 May 2018 14:41:32 +0000 (16:41 +0200)]
Fix update for manipulator w/ 3D cursor change

15 months agoCleanup: transform manipulator filename
Campbell Barton [Sun, 6 May 2018 14:12:42 +0000 (16:12 +0200)]
Cleanup: transform manipulator filename

Use matching 2d/3d suffix.

15 months agoCorrect extrude poll function
Campbell Barton [Sun, 6 May 2018 14:13:43 +0000 (16:13 +0200)]
Correct extrude poll function

15 months agoWorkbench: if no material is available, use color 0.8 like default material.
Brecht Van Lommel [Sun, 6 May 2018 13:58:01 +0000 (15:58 +0200)]
Workbench: if no material is available, use color 0.8 like default material.

15 months agoFix use of removed Blender Internal property.
Brecht Van Lommel [Sun, 6 May 2018 13:58:48 +0000 (15:58 +0200)]
Fix use of removed Blender Internal property.

15 months agoFix issue with hidden headers after previous commit.
Brecht Van Lommel [Sun, 6 May 2018 14:07:34 +0000 (16:07 +0200)]
Fix issue with hidden headers after previous commit.

15 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 6 May 2018 14:00:27 +0000 (16:00 +0200)]
Merge branch 'master' into blender2.8

15 months agoObject Snap: add object & matrix to view ray cast
Campbell Barton [Sun, 6 May 2018 13:56:09 +0000 (15:56 +0200)]
Object Snap: add object & matrix to view ray cast

Some snap functions already exposed this.

15 months agoUI: region overlap now works for headers as well.
Brecht Van Lommel [Sat, 21 Apr 2018 16:37:03 +0000 (18:37 +0200)]
UI: region overlap now works for headers as well.

This is for the 3D viewport and image editor. A remaining issue is
that pulldown menu buttons only show text, which is not visible on
all background colors, so making the header entirely transparent
does not work well at the moment.

15 months agoEdit-mesh: multi-object reveal
Dalai Felinto [Sun, 6 May 2018 11:51:40 +0000 (13:51 +0200)]
Edit-mesh: multi-object reveal

15 months agoEdit-mesh: multi-object hide
Dalai Felinto [Sun, 6 May 2018 11:51:30 +0000 (13:51 +0200)]
Edit-mesh: multi-object hide

15 months agoEdit-mesh: multi-object delete edge loops
Dalai Felinto [Sun, 6 May 2018 11:44:11 +0000 (13:44 +0200)]
Edit-mesh: multi-object delete edge loops

15 months agoFix crash with select linked when nothing is under the cursor
Dalai Felinto [Sun, 6 May 2018 11:19:17 +0000 (13:19 +0200)]
Fix crash with select linked when nothing is under the cursor

There is no object to update anyways, and there is no valid basact when the
nified_findnearest() test fails.

How to reproduce the bug: Try to select linked (L) with selected faces but
withotu mouse hovering any mesh.

Bug introduced on: rBbfc9d426bb95 (original multi-object edit commit).

15 months agoEdit-mesh: multi-object select less
Dalai Felinto [Sun, 6 May 2018 11:08:59 +0000 (13:08 +0200)]
Edit-mesh: multi-object select less

15 months agoEdit-mesh: multi-object select more
Dalai Felinto [Sun, 6 May 2018 11:03:59 +0000 (13:03 +0200)]
Edit-mesh: multi-object select more

15 months agoFix missing show_weight from overlay UI
Campbell Barton [Sun, 6 May 2018 10:17:53 +0000 (12:17 +0200)]
Fix missing show_weight from overlay UI

Missed when moving settings out of the mesh.

15 months agoShow the 3D cursor by default
Campbell Barton [Sun, 6 May 2018 09:56:26 +0000 (11:56 +0200)]
Show the 3D cursor by default

Was committed as part of unrelated change: D3198.

15 months agoFix extrude glitch where undo state was visible
Campbell Barton [Sun, 6 May 2018 09:48:32 +0000 (11:48 +0200)]
Fix extrude glitch where undo state was visible

15 months agoEditMesh: initial extrude manipulator
Campbell Barton [Sun, 6 May 2018 08:00:37 +0000 (10:00 +0200)]
EditMesh: initial extrude manipulator

This manipulator is a test for mixing do/redo,
there are still some glitches that need sorting out in
transform & the undo stack.

15 months agoTransform: support initial offset option
Campbell Barton [Sun, 6 May 2018 07:52:12 +0000 (09:52 +0200)]
Transform: support initial offset option

Needed to redo extrude+transform macro w/o resetting the translation.

15 months agoWM: manipulator redo support
Campbell Barton [Sun, 6 May 2018 07:49:55 +0000 (09:49 +0200)]
WM: manipulator redo support

Support for adjusting a setting from the last executed operator.

15 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 6 May 2018 07:02:47 +0000 (09:02 +0200)]
Merge branch 'master' into blender2.8

15 months agoWM: include macros in last-properties
Campbell Barton [Sun, 6 May 2018 06:54:58 +0000 (08:54 +0200)]
WM: include macros in last-properties

Needed for 2.8 tool system storage of macro properties.

15 months agoIDProp API: use stored string length for IDP_repr
Campbell Barton [Sun, 6 May 2018 06:45:54 +0000 (08:45 +0200)]
IDProp API: use stored string length for IDP_repr

Also NULL check ID pointers.

15 months agoFix T54801: incorrect render with zero weight transparent BSDFs.
Brecht Van Lommel [Sat, 5 May 2018 23:24:53 +0000 (01:24 +0200)]
Fix T54801: incorrect render with zero weight transparent BSDFs.

15 months agoFix crash on armature drawing
Dalai Felinto [Sat, 5 May 2018 22:23:13 +0000 (00:23 +0200)]
Fix crash on armature drawing

15 months agoArmature: Fix object mode display.
Clément Foucault [Sat, 5 May 2018 20:58:46 +0000 (22:58 +0200)]
Armature: Fix object mode display.

Don't show wires if not selected.
Bone outline size match meshes outlines.

15 months agoArmature: Change Bone drawing.
Clément Foucault [Sat, 5 May 2018 19:00:31 +0000 (21:00 +0200)]
Armature: Change Bone drawing.

This makes a few changes:
- Remove the old "overlay" wires.
- Add constraints colors to bones.
- Specify a a new "hint" color per bone. Making selection/Active state
  more obvious.
- Unify Octahedral/B-Bones/Envelope shading and colors.
- Change outline size depending on the selection/active state of the bone.

Note that thoses changes are not final and needs review.

15 months agoArmature: Rename bone shaders and add 2 colors smooth blending.
Clément Foucault [Sat, 5 May 2018 18:51:16 +0000 (20:51 +0200)]
Armature: Rename bone shaders and add 2 colors smooth blending.

This will enable us to do more nice stuff in future commits.

This commit is a temporary commit, it will compile but will crash if
trying to display any armature. Next commit does work.

15 months agoArmature: Outline: Fix outline detection in critical cases.
Clément Foucault [Sat, 5 May 2018 18:33:57 +0000 (20:33 +0200)]
Armature: Outline: Fix outline detection in critical cases.

Outline was not generated because the normal was completely orthogonal to
the view.

15 months agoArmature: Make bone outlines thickness variable.
Clément Foucault [Sat, 5 May 2018 18:27:22 +0000 (20:27 +0200)]
Armature: Make bone outlines thickness variable.

15 months agoArmature: Set outline width to 2.0.
Clément Foucault [Sat, 5 May 2018 18:22:05 +0000 (20:22 +0200)]
Armature: Set outline width to 2.0.

Correspond roughly to 1px width.

15 months agoWorkbench: Temporary fix washed out background color.
Clément Foucault [Sat, 5 May 2018 18:04:17 +0000 (20:04 +0200)]
Workbench: Temporary fix washed out background color.

Save our eyes until proper color management is implemented.

15 months agoIcons: add texture paint icons
Campbell Barton [Sat, 5 May 2018 16:01:35 +0000 (18:01 +0200)]
Icons: add texture paint icons

15 months ago3D viewport: rename ambient to shadow intensity, default single color to 0.8.
Brecht Van Lommel [Sat, 5 May 2018 13:09:21 +0000 (15:09 +0200)]
3D viewport: rename ambient to shadow intensity, default single color to 0.8.

15 months agoUI: experiment to make popover buttons draw like enum menus.
Brecht Van Lommel [Sat, 5 May 2018 12:47:50 +0000 (14:47 +0200)]
UI: experiment to make popover buttons draw like enum menus.

Looks better for 3D viewport shading, but needs more tweaks to distinguish
it from other button types probably.

15 months ago3D Viewport: move overlay settings from collections to 3D viewport.
Brecht Van Lommel [Thu, 3 May 2018 13:09:09 +0000 (15:09 +0200)]
3D Viewport: move overlay settings from collections to 3D viewport.

For some we may add per object overrides, but for most we plan to keep them
strictly per viewport settings. Display settings from the mesh still need to
be moved here, only collections were done to remove that code.

15 months ago3D Viewport: make shading and overlay DNA match UI names.
Brecht Van Lommel [Sat, 5 May 2018 08:45:15 +0000 (10:45 +0200)]
3D Viewport: make shading and overlay DNA match UI names.

We should use consistent naming between the internal code and UI whenever
possible, only reason not to is file compatibility.

15 months agoCleanup: remove legacy 3D view data.
Brecht Van Lommel [Sat, 5 May 2018 08:10:47 +0000 (10:10 +0200)]
Cleanup: remove legacy 3D view data.

15 months agoCleanup: minor code formatting tweaks for 3D view DNA.
Brecht Van Lommel [Sat, 5 May 2018 08:03:42 +0000 (10:03 +0200)]
Cleanup: minor code formatting tweaks for 3D view DNA.

15 months agoCleanup: fix compiler warnings.
Brecht Van Lommel [Sat, 5 May 2018 07:37:14 +0000 (09:37 +0200)]
Cleanup: fix compiler warnings.

15 months agoGroups: remove drawing group objects in a different color.
Brecht Van Lommel [Fri, 4 May 2018 09:36:50 +0000 (11:36 +0200)]
Groups: remove drawing group objects in a different color.

With the upcoming unification of groups and collections this will make
no sense anymore, as all objects will be in a collection.

15 months agoWorkbench: Fix reading and testing from depth buffer
Jeroen Bakker [Sat, 5 May 2018 13:31:10 +0000 (15:31 +0200)]
Workbench: Fix reading and testing from depth buffer

15 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sat, 5 May 2018 12:42:10 +0000 (14:42 +0200)]
Merge branch 'master' into blender2.8

15 months agoIDProp API: add native C repr function
Campbell Barton [Sat, 5 May 2018 12:27:54 +0000 (14:27 +0200)]
IDProp API: add native C repr function

Was using Python which wasn't very efficient (even for logging).

15 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sat, 5 May 2018 07:57:45 +0000 (09:57 +0200)]
Merge branch 'master' into blender2.8

15 months agoPyAPI: add pop method to RNA struct types
Campbell Barton [Sat, 5 May 2018 07:53:30 +0000 (09:53 +0200)]
PyAPI: add pop method to RNA struct types

This fits in with existing dict style access.

15 months agoIDProp Py API: Add default argument to pop
Campbell Barton [Sat, 5 May 2018 07:48:06 +0000 (09:48 +0200)]
IDProp Py API: Add default argument to pop

Match dict.pop behavior.

15 months agoIDProp API: Avoid redundant group replace lookup
Campbell Barton [Sat, 5 May 2018 07:31:17 +0000 (09:31 +0200)]
IDProp API: Avoid redundant group replace lookup

15 months agoEevee: Shadows: Don't allocate more CSM layer than we need.
Clément Foucault [Fri, 4 May 2018 17:24:02 +0000 (19:24 +0200)]
Eevee: Shadows: Don't allocate more CSM layer than we need.

15 months agoCleanup: trailing space
Campbell Barton [Fri, 4 May 2018 17:22:38 +0000 (19:22 +0200)]
Cleanup: trailing space

15 months agoEdit Mesh: Multi object color reverse
Campbell Barton [Fri, 4 May 2018 17:16:43 +0000 (19:16 +0200)]
Edit Mesh: Multi object color reverse

D3173 by @la10

15 months agoEevee: Fix Cascaded shadow map calculation.
Clément Foucault [Fri, 4 May 2018 15:33:16 +0000 (17:33 +0200)]
Eevee: Fix Cascaded shadow map calculation.

The first one was done correctly but the second was wrong due to the matrix
being overwritten.

15 months agoDRW: Add DRW_viewport_far/near_distance_get functions.
Clément Foucault [Fri, 4 May 2018 15:32:53 +0000 (17:32 +0200)]
DRW: Add DRW_viewport_far/near_distance_get functions.

15 months agoFix crash selecting edit-mesh
Campbell Barton [Fri, 4 May 2018 17:01:53 +0000 (19:01 +0200)]
Fix crash selecting edit-mesh

The base and the vert/edge/face could be out of sync.

15 months agoFix: Fire notifiers on pose properties changed
Joshua Leung [Fri, 4 May 2018 15:30:49 +0000 (17:30 +0200)]
Fix: Fire notifiers on pose properties changed

While testing UI_OT_reset_default_button, discovered that using
Reset to Default Values on bone locations didn't work. Turns out
to be missing update on this property. So, this is probably
dependent on the property used.

15 months agoWorkbench: Color selector when in single color mode
Jeroen Bakker [Fri, 4 May 2018 15:25:49 +0000 (17:25 +0200)]
Workbench: Color selector when in single color mode

15 months agoMerge branch 'master' into blender2.8
Germano [Fri, 4 May 2018 14:58:55 +0000 (11:58 -0300)]
Merge branch 'master' into blender2.8

15 months agoBKE: bvhuils: remove member `sphere_radius`.
Germano [Fri, 4 May 2018 14:57:01 +0000 (11:57 -0300)]
BKE: bvhuils: remove member `sphere_radius`.

This member currently doubles the value of `ray->radius` or is not even used.

15 months agoDepsgraph: Fix several ID blocks added multiple times to depsgraph
Sergey Sharybin [Fri, 4 May 2018 14:36:27 +0000 (16:36 +0200)]
Depsgraph: Fix several ID blocks added multiple times to depsgraph

Ideally, we need to get rid of whole bmain iteration in depsgraph
construction, but then it's not clear which movie clips and such
to evaluate.

15 months agoT54953: Use OCIO for display color management
Jeroen Bakker [Fri, 4 May 2018 14:26:31 +0000 (16:26 +0200)]
T54953: Use OCIO for display color management

15 months agoWorkbench: Random color generation
Jeroen Bakker [Fri, 4 May 2018 12:52:08 +0000 (14:52 +0200)]
Workbench: Random color generation

Now the colors are determined from the name and library name of the
object. This should make more consistent random colors