11 months agoFix some UI script errors after recent keyword changes.
Roel Koster [Tue, 28 Aug 2018 16:01:53 +0000 (18:01 +0200)]
Fix some UI script errors after recent keyword changes.

Differential Revision:

11 months agoFix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"
Antonioya [Tue, 28 Aug 2018 14:21:35 +0000 (16:21 +0200)]
Fix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"

11 months agoFix space text script - keyboard for labels
Dalai Felinto [Tue, 28 Aug 2018 13:17:58 +0000 (10:17 -0300)]
Fix space text script - keyboard for labels

I guess multi-line ui elements were not covered in the cleanup scripts.

11 months agoRNA: make mesh add methods use required arg 'count'
Campbell Barton [Tue, 28 Aug 2018 12:35:09 +0000 (22:35 +1000)]
RNA: make mesh add methods use required arg 'count'

11 months agoCleanup: pep8
Campbell Barton [Tue, 28 Aug 2018 11:00:25 +0000 (21:00 +1000)]
Cleanup: pep8

11 months agoFix T56530, T56523: collection visiblity toggling wrong after recent changes.
Brecht Van Lommel [Tue, 28 Aug 2018 10:43:13 +0000 (12:43 +0200)]
Fix T56530, T56523: collection visiblity toggling wrong after recent changes.

11 months agoCleanup: compiler warnings.
Brecht Van Lommel [Tue, 28 Aug 2018 09:47:16 +0000 (11:47 +0200)]
Cleanup: compiler warnings.

11 months agoCleanup: remove debug code.
Brecht Van Lommel [Fri, 24 Aug 2018 09:11:06 +0000 (11:11 +0200)]
Cleanup: remove debug code.

11 months agoTool System: use release_confirm for gpencil
William Reynish [Tue, 28 Aug 2018 10:43:34 +0000 (20:43 +1000)]
Tool System: use release_confirm for gpencil

Also rename some grease pencil tools.

11 months agoTool System: add shear and to-sphere tools
William Reynish [Tue, 28 Aug 2018 10:41:48 +0000 (20:41 +1000)]
Tool System: add shear and to-sphere tools

11 months ago3D View: split object/pose box & lasso select
Campbell Barton [Tue, 28 Aug 2018 06:17:37 +0000 (16:17 +1000)]
3D View: split object/pose box & lasso select

Also fix error in lasso select with multiple pose objects.

11 months ago3D View: split object/pose border select
Campbell Barton [Tue, 28 Aug 2018 04:04:37 +0000 (14:04 +1000)]
3D View: split object/pose border select

No functional change, duplicate function for easy diffing.

Changes coming next.

11 months agoGP: Use custom api to get material
Antonioya [Tue, 28 Aug 2018 06:17:53 +0000 (08:17 +0200)]
GP: Use custom api to get material

11 months agoGP: Revert replace custom function by standard API
Antonioya [Tue, 28 Aug 2018 06:16:30 +0000 (08:16 +0200)]
GP: Revert replace custom function by standard API

Using custom api breaks material at object level

11 months agoPyRNA: all optional args now must be keyword args
Campbell Barton [Tue, 28 Aug 2018 03:50:24 +0000 (13:50 +1000)]
PyRNA: all optional args now must be keyword args

In some cases the RNA API should be updated to make arguments use the
'required' flag, instead of adjusting Python scripts.

See T47811

11 months agoRNA: use required args for internal popup end API
Campbell Barton [Tue, 28 Aug 2018 03:48:01 +0000 (13:48 +1000)]
RNA: use required args for internal popup end API

11 months agoRNA: make template_list list_id a required arg
Campbell Barton [Tue, 28 Aug 2018 03:42:30 +0000 (13:42 +1000)]
RNA: make template_list list_id a required arg

Prepare for keyword only args.

11 months agoUI: use keyword arguments
Campbell Barton [Tue, 28 Aug 2018 03:41:47 +0000 (13:41 +1000)]
UI: use keyword arguments

Prepare for keyword only args.

11 months agoCycles: use fields for property definitions
Campbell Barton [Tue, 28 Aug 2018 03:16:04 +0000 (13:16 +1000)]
Cycles: use fields for property definitions

11 months agoRNA: UILayout.split(..) 'percentage' to 'factor'
Campbell Barton [Tue, 28 Aug 2018 02:38:54 +0000 (12:38 +1000)]
RNA: UILayout.split(..) 'percentage' to 'factor'

Misleading name since it's between 0..1.

Use as a keyword argument to prepare for keyword only args.

Also document that leaving unset has special behavior.

11 months agoUI: text keyword argument to label
Campbell Barton [Tue, 28 Aug 2018 02:34:51 +0000 (12:34 +1000)]
UI: text keyword argument to label

Prepare for keyword only args

11 months agoCleanup: indentation
Campbell Barton [Tue, 28 Aug 2018 01:01:29 +0000 (11:01 +1000)]
Cleanup: indentation

11 months agoCleanup: warnings
Campbell Barton [Tue, 28 Aug 2018 00:53:35 +0000 (10:53 +1000)]
Cleanup: warnings

11 months agoGP: Replace custom function by standard API
Antonioya [Mon, 27 Aug 2018 21:16:02 +0000 (23:16 +0200)]
GP: Replace custom function by standard API

Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index

11 months agoFix T56577: Crash when using Grease Pencil Fill Brush
Antonioya [Mon, 27 Aug 2018 21:04:58 +0000 (23:04 +0200)]
Fix T56577: Crash when using Grease Pencil Fill Brush

If the brush had assigned a color not present in the object material slots, the fill crashed.

Now, the material is added to the object slot before using it.

11 months agotransform_snap_object: Add a small offset to the clip plane
mano-wii [Mon, 27 Aug 2018 19:00:20 +0000 (16:00 -0300)]
transform_snap_object: Add a small offset to the clip plane
This prioritizes the vertex and edge snap over raycast.

11 months agoRevert "DRW: Remove unecessary GL calls"
Clément Foucault [Mon, 27 Aug 2018 16:02:48 +0000 (18:02 +0200)]
Revert "DRW: Remove unecessary GL calls"

This reverts commit f8c857ad72e29eb509bd04067f94cd3df8a54aa4.

11 months agoDNA: Deprecate gridview
mano-wii [Mon, 27 Aug 2018 15:16:34 +0000 (12:16 -0300)]
DNA: Deprecate gridview

11 months agoDraw Manager: Remove unused function
mano-wii [Mon, 27 Aug 2018 14:59:57 +0000 (11:59 -0300)]
Draw Manager: Remove unused function

Signed-off-by: fclem
11 months agoFix T56547: Single column properties not aligned
Campbell Barton [Mon, 27 Aug 2018 14:59:15 +0000 (00:59 +1000)]
Fix T56547: Single column properties not aligned

11 months agoFix unreported: the gridview is no longer computed, so the snapping functions have...
mano-wii [Mon, 27 Aug 2018 14:40:48 +0000 (11:40 -0300)]
Fix unreported: the gridview is no longer computed, so the snapping functions have to use the actual grid scale.

11 months agoGP: New operator to copy layers between objects
Antonioya [Mon, 27 Aug 2018 14:29:19 +0000 (16:29 +0200)]
GP: New operator to copy layers between objects

The operator allows to copy a complete layer with all frames or only active frame to a new object.

Can be found in edit specials menu (W key) or in Layers specials menu (last button near layer list).

11 months agoImplement BMesh Operator string enumerators and docs generation.
Andrew Hale [Mon, 27 Aug 2018 13:51:27 +0000 (15:51 +0200)]
Implement BMesh Operator string enumerators and docs generation.

Partial implementation of T56496 for review.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision:

11 months agoFix assert displaying UV's of faceless meshes
Campbell Barton [Mon, 27 Aug 2018 07:32:14 +0000 (17:32 +1000)]
Fix assert displaying UV's of faceless meshes

11 months agoHandle multi-hidden-layers when converting groups to collections.
Bastien Montagne [Mon, 27 Aug 2018 07:20:06 +0000 (09:20 +0200)]
Handle multi-hidden-layers when converting groups to collections.

That is kind of mandatory with complex rigged-character groups, with
hundreds of helper objects, and a few useful ones being hidden on
specific layers (like e.g. the main rig...).

It is especially critical point with static override, which won't allow
to move objects between collections and such (that would be a nightmare
to implement and handle).

Note that this is rather basic implementation, we could go further and
move all objects in all layers they are 'active', but that would
probably be overkill.

Reviewers: brecht

Subscribers: brecht

Differential Revision:

11 months agoBMesh: improvements/fixes to select side of active
Campbell Barton [Mon, 27 Aug 2018 07:04:16 +0000 (17:04 +1000)]
BMesh: improvements/fixes to select side of active

- Add orientation option (defaults to local, as 2.7x does)
  can optionally use global, cursor, view... etc.
- Fix typo which caused select flush to fail.
- Fix for instanced objects (was only checking one instance).
- Only tag for changes if a change is made.
- Skip meshes with all vertices selected.

11 months agoCleanup: rename 'vindex' to 'def_nr'
Campbell Barton [Mon, 27 Aug 2018 06:02:41 +0000 (16:02 +1000)]
Cleanup: rename 'vindex' to 'def_nr'

Name hinted 'vertex index', where it's the index of the vertex group.

11 months agoGP: replace custom API w/ BKE_deform API
Campbell Barton [Mon, 27 Aug 2018 04:20:40 +0000 (14:20 +1000)]
GP: replace custom API w/ BKE_deform API

11 months agoFix grease pencil weight invert
Campbell Barton [Mon, 27 Aug 2018 04:19:08 +0000 (14:19 +1000)]
Fix grease pencil weight invert

Was always using first group.

11 months agoIcons: update to rBL62101
William Reynish [Mon, 27 Aug 2018 01:47:27 +0000 (11:47 +1000)]
Icons: update to rBL62101

- Updated icons for Annotation
- Updated Sculpt Mode icons once again, with a flat base.
  Makes them more readable
- Updated Hair tools icons
- Updated Armature Edit mode icons
- Updated Grease Pencil icons

11 months agoCleanup: warning, use const args
Campbell Barton [Mon, 27 Aug 2018 01:46:09 +0000 (11:46 +1000)]
Cleanup: warning, use const args

11 months agoDRW: Remove unecessary GL calls
Clément Foucault [Sat, 25 Aug 2018 11:03:49 +0000 (13:03 +0200)]
DRW: Remove unecessary GL calls

11 months agoCleanup: remove double ;
Antonioya [Sun, 26 Aug 2018 15:25:17 +0000 (17:25 +0200)]
Cleanup: remove double ;

11 months agoGP: Reduce weight paint data memory footprint
Antonioya [Sun, 26 Aug 2018 14:39:01 +0000 (16:39 +0200)]
GP: Reduce weight paint data memory footprint

Before, the weight data array was created always, but now only is added when a weight value is assigned.

This change was suggested by algorithm, and both agreed it was good idea.

11 months agoStatic override: add constraint targets as overrideable!
Bastien Montagne [Sun, 26 Aug 2018 13:36:06 +0000 (15:36 +0200)]
Static override: add constraint targets as overrideable!

11 months agoFix conversion from 2.7x groups to new 2.8 collections - hidden layers.
Bastien Montagne [Fri, 24 Aug 2018 14:34:15 +0000 (16:34 +0200)]
Fix conversion from 2.7x groups to new 2.8 collections - hidden layers.

You cannot immediately add parent's library to newly generated hidden
child collection, since it would allow to get several of those hidden
collections with same name/library. That is strictly forbidden!

So rather loop again on collections after all hidden ones have been
generated, and assign children's library from parent one then.

11 months agoCleanup: style
Campbell Barton [Sun, 26 Aug 2018 09:57:19 +0000 (19:57 +1000)]
Cleanup: style

11 months agoDNA: don't deprecate gridview, it's still used
Campbell Barton [Sun, 26 Aug 2018 09:47:47 +0000 (19:47 +1000)]
DNA: don't deprecate gridview, it's still used

11 months agoCloth: Fix mistake in big matrix multiplication
Luca Rood [Fri, 17 Aug 2018 11:08:47 +0000 (13:08 +0200)]
Cloth: Fix mistake in big matrix multiplication

Only the upper triangle of the block matrix is stored, thus when
executing operations on the lower triangle, each block must be
transposed. This transposition was not ocurring in the matrix-vector
multiplication function, which is fixed by this commit.

Reviewed By: brecht

Differential Revision:

11 months agoGP: Select color in Brush or in Properties
Antonioya [Fri, 24 Aug 2018 21:59:56 +0000 (23:59 +0200)]
GP: Select color in Brush or in Properties

After some artist feedback the material selection was not clear.

Now, the material can be selected in the top bar or in the properties panel.

1) If the material is selected in properties panel, all Brushes except pinned will be assigned to this material.

2) If the material is selected in the brush, the properties panel is updated to set the active material.

Added a new Pin icon to keep locked the material to one brush

11 months agoTransform: Use grid_scale to configure the incremental snapping.
mano-wii [Fri, 24 Aug 2018 21:04:36 +0000 (18:04 -0300)]
Transform: Use grid_scale to configure the incremental snapping.

`gridview` is no longer being set and also does not match the new grid's drawing.

11 months agoCleanup: Remove debug printf
Clément Foucault [Fri, 24 Aug 2018 16:00:00 +0000 (18:00 +0200)]
Cleanup: Remove debug printf

11 months agoFix MESH_OT_shortest_path_pick
Dalai Felinto [Fri, 24 Aug 2018 15:15:53 +0000 (12:15 -0300)]
Fix MESH_OT_shortest_path_pick

It was working only for REDO.

The reason was that we were not tagging our beloved
new multi-threaded depedency graph.

11 months agoGP: Fix unreported error drawing polygons
Antonioya [Fri, 24 Aug 2018 15:04:00 +0000 (17:04 +0200)]
GP: Fix unreported error drawing polygons

As the polygon drawing is handled using a buffer that is converted to stroke inmediately, the drawing engine was not drawing the buffer stroke because it was empty, and the stoke was not visible becaus eit was in fast drawing mode.

Now there is a special flag to indicate the polygon mode is enabled and force the drawing engine to draw strokes and disable fast drawing.

11 months agoMultires: Fix wrong apply deform results when multires has sculpt already
Sergey Sharybin [Fri, 24 Aug 2018 15:00:08 +0000 (17:00 +0200)]
Multires: Fix wrong apply deform results when multires has sculpt already

11 months agoSculpt: Optimize Mask Overlay drawing
Clément Foucault [Fri, 24 Aug 2018 14:46:42 +0000 (16:46 +0200)]
Sculpt: Optimize Mask Overlay drawing

* Remove support for diffuse color in the pbvh buffers.
* Upload raw data to GPU.
* Only draw nodes that have mask data when drawing the overlay.

This should fix T56466

11 months agoMulti-Objects: MESH_OT_select_axis
Dalai Felinto [Fri, 24 Aug 2018 14:44:10 +0000 (11:44 -0300)]
Multi-Objects: MESH_OT_select_axis

Now that this operator is working properly (in world space axis), it can
be ported for multi object support.

The issue of only running on redo is still present though, to be investigated

11 months agoMESH_OT_select_axis: Make it work with world axis, not local ones
Dalai Felinto [Thu, 23 Aug 2018 21:23:51 +0000 (18:23 -0300)]
MESH_OT_select_axis: Make it work with world axis, not local ones

Not, I tried using `dist_signed_squared_to_plane_v3` but profiling showed that
it is 50% slower than using regular `mul_v3_m4v3` for the verts.

I managed to get this number closer when manually inlining all the functions
called by `dist_signed_squared_to_plane_v3`. But still `mul_v3_m4v3` was better
and it makes the code simpler to understand.

Also I'm changing the default mode to positive, no idea why it was negative as
default in the first place.

Last but not least, the operator only works well on redo. This was a problem
before, not introduced by this patch.

11 months agoMESH_OT_select_axis: cleanup (use enum instead of hardcoded values)
Dalai Felinto [Thu, 23 Aug 2018 21:12:53 +0000 (18:12 -0300)]
MESH_OT_select_axis: cleanup (use enum instead of hardcoded values)

11 months agoGP: Add arrange strokes to edit specials menu
Antonioya [Fri, 24 Aug 2018 13:47:25 +0000 (15:47 +0200)]
GP: Add arrange strokes to edit specials menu

11 months agoRemove annotations lock to axis function
Antonioya [Fri, 24 Aug 2018 09:28:01 +0000 (11:28 +0200)]
Remove annotations lock to axis function

The lock to axis is only used by grease pencil object and can produce weird results in annotations.

This lock to axis function was kept by error when the annotation code was splitted from general grease pencil code.

11 months agoDepsgraph: Fix wrong detection of invisible objects
Sergey Sharybin [Fri, 24 Aug 2018 08:54:18 +0000 (10:54 +0200)]
Depsgraph: Fix wrong detection of invisible objects

Was happenign for following cases:

- Deep hierarchy of non-restircted collections, which has grand-grand
  parent restricted.

- Collections which are constructed from invisible object.

11 months agoDepsgraph: Escape underscore in time stats chart
Sergey Sharybin [Fri, 24 Aug 2018 08:16:05 +0000 (10:16 +0200)]
Depsgraph: Escape underscore in time stats chart

11 months agoCompositor: Added Weighted Standard Curve evaluation
Jeroen Bakker [Fri, 24 Aug 2018 08:04:33 +0000 (10:04 +0200)]
Compositor: Added Weighted Standard Curve evaluation

Available in RGB Curve node in the compositor and as modifier in the
sequencer. I reshuffled the values of the enum. But a the first commit
is just 1 day old I think that the order is more important than the file

11 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 24 Aug 2018 02:39:36 +0000 (12:39 +1000)]
Merge branch 'master' into blender2.8

11 months agoFix T56491: Undo crash while preview jobs run
Campbell Barton [Fri, 24 Aug 2018 02:36:19 +0000 (12:36 +1000)]
Fix T56491: Undo crash while preview jobs run

While the crash is in 2.8, it's possible undo operates on data
which isn't only owned by the current scene (any object for eg).

Thanks to @mont29 for suggesting the fix.

11 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 24 Aug 2018 02:17:33 +0000 (12:17 +1000)]
Merge branch 'master' into blender2.8

11 months agoUI: always align item w/ label
Campbell Barton [Fri, 24 Aug 2018 02:13:28 +0000 (12:13 +1000)]
UI: always align item w/ label

11 months agoFix T56511: UILayout.prop_search misaligned
Campbell Barton [Fri, 24 Aug 2018 02:09:56 +0000 (12:09 +1000)]
Fix T56511: UILayout.prop_search misaligned

Add padding when used with property decorations.

11 months agoUI: remove hack to align search properties
Campbell Barton [Fri, 24 Aug 2018 00:51:53 +0000 (10:51 +1000)]
UI: remove hack to align search properties

11 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 24 Aug 2018 01:54:12 +0000 (11:54 +1000)]
Merge branch 'master' into blender2.8

11 months agoRNA: avoid redundant property lookups in UI API
Campbell Barton [Fri, 24 Aug 2018 01:44:28 +0000 (11:44 +1000)]
RNA: avoid redundant property lookups in UI API

11 months agoCleanup: indentation, style
Campbell Barton [Fri, 24 Aug 2018 00:26:59 +0000 (10:26 +1000)]
Cleanup: indentation, style

11 months agoUI: re-arrange some items in context menu
Pablo Vazquez [Thu, 23 Aug 2018 23:37:55 +0000 (01:37 +0200)]
UI: re-arrange some items in context menu

* Move Add to Quick Favorites before Assign Shortcut, as it is more often
that we add items to favorites, than changing shortcuts.

* Move Header menu last. In some cases the Online Manual for that item
would appear after the header menu.

* No icon for "Remove from Quick Favorites", matches Remove Shortcut

11 months agoUI: Fix area border thickness over top and bottom bar with glScissors
Clément Foucault [Thu, 23 Aug 2018 21:02:38 +0000 (23:02 +0200)]
UI: Fix area border thickness over top and bottom bar with glScissors

11 months agoHide Grease Pencil ornaments if overlay setting is disabled
Pablo Vazquez [Thu, 23 Aug 2018 20:47:53 +0000 (22:47 +0200)]
Hide Grease Pencil ornaments if overlay setting is disabled

11 months agoCleanup: remove unused code
Clément Foucault [Thu, 23 Aug 2018 20:34:25 +0000 (22:34 +0200)]
Cleanup: remove unused code

11 months agoUI: Optimize the area border drawing
Clément Foucault [Thu, 23 Aug 2018 20:29:29 +0000 (22:29 +0200)]
UI: Optimize the area border drawing

It is was not really a bottleneck but it was triggering my OCD when 1/3rd
of the drawcalls in a normal scene were basically only caused by this.

11 months agoWireframe: Add support for sculpt mode
Clément Foucault [Thu, 23 Aug 2018 16:05:50 +0000 (18:05 +0200)]
Wireframe: Add support for sculpt mode

Now wireframe does update in sculpt mode using the sculpt mesh VBOs.

The only thing that does not work is simplified wireframe (the wireframe
slider) when the mesh is shaded flat. In this case all edges are shown.

11 months agoFix T55507: Crash due to GPencil brush icon management, when there is no active object.
Bastien Montagne [Thu, 23 Aug 2018 19:56:11 +0000 (21:56 +0200)]
Fix T55507: Crash due to GPencil brush icon management, when there is no active object.

11 months agoFix T56455: [2.8] Crash when projecting skinwrap curve/path.
Bastien Montagne [Thu, 23 Aug 2018 19:49:14 +0000 (21:49 +0200)]
Fix T56455: [2.8] Crash when projecting skinwrap curve/path.

Shrinkwrap is not only a Mesh modifier...

11 months agoFix T56360: metaball viewport checkbox crash.
Bastien Montagne [Thu, 23 Aug 2018 19:26:44 +0000 (21:26 +0200)]
Fix T56360: metaball viewport checkbox crash.

Do same as for other geometry types to compute bbox, instead of blindly
returning NULL `ob->bb`...

11 months agoFix single column UI: grey out B-Bone properties when not a B-Bone.
Alexander Gavrilov [Thu, 23 Aug 2018 19:37:30 +0000 (22:37 +0300)]
Fix single column UI: grey out B-Bone properties when not a B-Bone.

There was a mistake when the UI was converted to the new layout style.

11 months agoWorkspaces: move delete to right click menu, instead of X on tab.
Brecht Van Lommel [Thu, 23 Aug 2018 17:58:54 +0000 (19:58 +0200)]
Workspaces: move delete to right click menu, instead of X on tab.

These are not intended to be closed as often as e.g. browser tabs, they are
intended to be more persistent and accidental closing should be avoided.

11 months agoUI: rename Grease Pencil panels in toolbar to Annotation.
Brecht Van Lommel [Wed, 22 Aug 2018 14:59:04 +0000 (16:59 +0200)]
UI: rename Grease Pencil panels in toolbar to Annotation.

To match the panels in the N key sidebar.

11 months agoMulti-Objects: MESH_OT_loop_select
Dalai Felinto [Thu, 23 Aug 2018 15:49:56 +0000 (12:49 -0300)]
Multi-Objects: MESH_OT_loop_select

11 months agoUI: Subpanels to Cycles Samples for Branched Path Tracing
William Reynish [Thu, 23 Aug 2018 15:29:05 +0000 (17:29 +0200)]
UI: Subpanels to Cycles Samples for Branched Path Tracing

11 months agoUI: Physics panel minor adjustments
William Reynish [Thu, 23 Aug 2018 15:21:55 +0000 (17:21 +0200)]
UI: Physics panel minor adjustments

Flow panel had a wrong name when the checkmark was used in the header, fixed alignment in softbody panel & fixed wrong active state for Cloth Pin.

11 months agoUI: Dark XYZ characters in the navigation gizmo
Pablo Vazquez [Thu, 23 Aug 2018 15:15:44 +0000 (17:15 +0200)]
UI: Dark XYZ characters in the navigation gizmo

Much easier to read against the usually brighter axes colors.

11 months agoDepsgraph: Bring back visibility checks based on collection restrict flags
Sergey Sharybin [Thu, 23 Aug 2018 14:17:06 +0000 (16:17 +0200)]
Depsgraph: Bring back visibility checks based on collection restrict flags

The title says it all actually, the idea is to speedup the following case:

- Visible duplicator of a restricted collection (reported as T56512),

One of the questionable change is that none of the view layer bases is
ignored now. This ensures corresponding objects will have copy-on-write
component evaluated, making it possible to access those pointers. The
evaluation of those objects is skipped.

Reviewers: brecht

Differential Revision:

11 months agoFix T56347: Driven values not supported in node groups.
Bastien Montagne [Thu, 23 Aug 2018 13:19:08 +0000 (15:19 +0200)]
Fix T56347: Driven values not supported in node groups.

Need to rebuild dependency graph when we add or remove nodes from a tree...

11 months agoRename: *_batch_cache_dirty > *_batch_cache_dirty_tag
Dalai Felinto [Thu, 23 Aug 2018 13:14:29 +0000 (10:14 -0300)]
Rename: *_batch_cache_dirty > *_batch_cache_dirty_tag

11 months agoFix T56500: Origin to geometry crashes on armature
Dalai Felinto [Wed, 22 Aug 2018 20:02:37 +0000 (17:02 -0300)]
Fix T56500: Origin to geometry crashes on armature

Reviewers: sergey

11 months agoIcons: new icons for sculpt border hide/mask
William Reynish [Thu, 23 Aug 2018 12:46:04 +0000 (22:46 +1000)]
Icons: new icons for sculpt border hide/mask

11 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Thu, 23 Aug 2018 12:56:42 +0000 (14:56 +0200)]
Merge branch 'master' into blender2.8

11 months agoFix T56506: Different behaviour of Bounds Clamp with positive and negative axis.
Bastien Montagne [Thu, 23 Aug 2018 12:55:40 +0000 (14:55 +0200)]
Fix T56506: Different behaviour of Bounds Clamp with positive and negative axis.

Small typo on minus sign position... ;)

11 months ago3D Grid: Fix grid not showing in camera view
Clément Foucault [Thu, 23 Aug 2018 11:56:25 +0000 (13:56 +0200)]
3D Grid: Fix grid not showing in camera view

11 months ago3D Grid: Fix axes color blending
Clément Foucault [Thu, 23 Aug 2018 11:35:41 +0000 (13:35 +0200)]
3D Grid: Fix axes color blending

11 months ago3D Grid: Fix grid passing through objects too much
Clément Foucault [Thu, 23 Aug 2018 11:35:10 +0000 (13:35 +0200)]
3D Grid: Fix grid passing through objects too much

For this we need to add a bias depending on the viewing angle.
But increasing the hardness of the test make float precision issues in
the mesh transformation more prominent (actual geometry is far below the
surface). So to solve this issue we use a more subdivided grid mesh
8x8 quads instead of 1 triangle.

11 months agoIcons: clamp material color from 0..1
Campbell Barton [Thu, 23 Aug 2018 11:40:30 +0000 (21:40 +1000)]
Icons: clamp material color from 0..1

Warn about out of range colors too.