blender.git
2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 15 May 2018 17:53:34 +0000 (19:53 +0200)]
Merge branch 'master' into blender2.8

2 years agoWorkbench: send right event after shadow_shift changes
Jeroen Bakker [Tue, 15 May 2018 17:47:29 +0000 (19:47 +0200)]
Workbench: send right event after shadow_shift changes

2 years agoRevert "BLI_kdopbvh: Reference clip_planes callback to find nearest projected."
Germano [Tue, 15 May 2018 17:37:45 +0000 (14:37 -0300)]
Revert "BLI_kdopbvh: Reference clip_planes callback to find nearest projected."

This reverts commit 717dd4cecd2ea8eaa7b3bbfb5a5c7ec65f0337c0.

It was causing problems in the protactor ruler.
I'll think of a better solution.

2 years agoFix T55032: Redo w/ file saved in edit-mode failed
Campbell Barton [Tue, 15 May 2018 17:30:59 +0000 (19:30 +0200)]
Fix T55032: Redo w/ file saved in edit-mode failed

It's important edit-mode has a step stored for redo to work,
file load now ensures this in a generic way.

2 years agoCleanup: pass the use_depth parameter to the `SnapObjectParams` struct in the ED_tran...
Germano [Tue, 15 May 2018 17:32:30 +0000 (14:32 -0300)]
Cleanup: pass the use_depth parameter to the `SnapObjectParams` struct in the ED_transform_snap_object_project_view3d_mixed.

2 years agoBLI_kdopbvh: Reference clip_planes callback to find nearest projected.
Germano [Tue, 15 May 2018 17:14:25 +0000 (14:14 -0300)]
BLI_kdopbvh: Reference clip_planes callback to find nearest projected.

Clip_planes are an important parameter to be used in callbacks.

2 years agoCOW Fix: VIEW3D_OT_select_lasso now works for Pose Bones. Other modes untested.
Joshua Leung [Tue, 15 May 2018 17:13:15 +0000 (19:13 +0200)]
COW Fix: VIEW3D_OT_select_lasso now works for Pose Bones. Other modes untested.

2 years agoBLI_math: Added isect_point_planes_v3_negated function.
Germano [Tue, 15 May 2018 17:10:41 +0000 (14:10 -0300)]
BLI_math: Added isect_point_planes_v3_negated function.

2 years agoFix POST_OT_hide/reveal
Joshua Leung [Tue, 15 May 2018 17:08:00 +0000 (19:08 +0200)]
Fix POST_OT_hide/reveal

Apparently they weren't actually working, despite seemingly working
when tested earlier. Argh!

2 years agoFix: POSE_OT_visual_transform_apply now works with Copy on Write
Joshua Leung [Tue, 15 May 2018 16:39:13 +0000 (18:39 +0200)]
Fix: POSE_OT_visual_transform_apply now works with Copy on Write

2 years agoCOW Fix: Muting constraints or changing influence did not properly refresh
Joshua Leung [Tue, 15 May 2018 16:34:08 +0000 (18:34 +0200)]
COW Fix: Muting constraints or changing influence did not properly refresh

We need to manually do a copy on write tag here, or else nothing will happen

2 years agoRemove G.main usage
Joshua Leung [Tue, 15 May 2018 16:31:39 +0000 (18:31 +0200)]
Remove G.main usage

2 years agoCopy on write: VIEW3D_OT_clear_render_border + rna
Dalai Felinto [Tue, 15 May 2018 16:19:08 +0000 (18:19 +0200)]
Copy on write: VIEW3D_OT_clear_render_border + rna

2 years agoCopy on write: VIEW3D_OT_render_border
Dalai Felinto [Tue, 15 May 2018 16:02:29 +0000 (18:02 +0200)]
Copy on write: VIEW3D_OT_render_border

Drawing is using the original scene (which shouldn't), but regardless
this force tagging to work.

2 years agoCleanup: Pass `Snap Object Params * params` to` iter_snap_objects`.
Germano [Tue, 15 May 2018 15:44:37 +0000 (12:44 -0300)]
Cleanup: Pass `Snap Object Params * params` to` iter_snap_objects`.

And remove unnecessary `defaulf:` labels.

2 years agoFix Cycles and viewport outline mismatch due to changed sensor size.
Brecht Van Lommel [Tue, 15 May 2018 15:32:16 +0000 (17:32 +0200)]
Fix Cycles and viewport outline mismatch due to changed sensor size.

2 years agoFix Cycles motion blur not working with CoW disabled.
Brecht Van Lommel [Tue, 15 May 2018 15:21:08 +0000 (17:21 +0200)]
Fix Cycles motion blur not working with CoW disabled.

Not so important but convenient for testing, and makes the Cycles tests
pass again for now.

2 years agoFix mistake in recent outliner rebuild change.
Brecht Van Lommel [Tue, 15 May 2018 15:07:13 +0000 (17:07 +0200)]
Fix mistake in recent outliner rebuild change.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 15 May 2018 15:31:26 +0000 (17:31 +0200)]
Merge branch 'master' into blender2.8

2 years agoFix assert using '//' on an unsaved file
Campbell Barton [Tue, 15 May 2018 15:27:36 +0000 (17:27 +0200)]
Fix assert using '//' on an unsaved file

Annoying for debug builds.

2 years agoParticle edit: Fix generation of KD tree for emitters
Sergey Sharybin [Tue, 15 May 2018 14:15:13 +0000 (16:15 +0200)]
Particle edit: Fix generation of KD tree for emitters

Fixes crahs using puff brush with copy-on-write.

2 years agoparticle edit: Fix crash when using without copy-on-write
Sergey Sharybin [Tue, 15 May 2018 14:00:08 +0000 (16:00 +0200)]
particle edit: Fix crash when using without copy-on-write

2 years agoParticles: Fix uninitialized child orco passed to modifiers
Sergey Sharybin [Tue, 15 May 2018 13:56:40 +0000 (15:56 +0200)]
Particles: Fix uninitialized child orco passed to modifiers

Wrong cleanup done in 51b796ff152.

2 years agoParticle edit: Need to check DONE flag from evaluated psys
Sergey Sharybin [Tue, 15 May 2018 12:50:24 +0000 (14:50 +0200)]
Particle edit: Need to check DONE flag from evaluated psys

2 years agoParticle edit: Support children particles display with copy on write
Sergey Sharybin [Tue, 15 May 2018 12:38:02 +0000 (14:38 +0200)]
Particle edit: Support children particles display with copy on write

2 years agoDepsgraph: Forbid flush across scene->geometry operations
Sergey Sharybin [Tue, 15 May 2018 12:35:24 +0000 (14:35 +0200)]
Depsgraph: Forbid flush across scene->geometry operations

This relations is only to force geometry evaluation to happen
after scene's CoW is done. it was never meant to update geometry
when scene is being tagged.

2 years agoDepsgraph: Keep track of original particle system
Sergey Sharybin [Tue, 15 May 2018 11:08:06 +0000 (13:08 +0200)]
Depsgraph: Keep track of original particle system

Allows to have quicker lookup in particle edit mode.

2 years agoParticle edit: Add missing looking tag in cut brush
Sergey Sharybin [Tue, 15 May 2018 10:52:54 +0000 (12:52 +0200)]
Particle edit: Add missing looking tag in cut brush

2 years agoParticle edit: Allow children to be visible in edit mode
Sergey Sharybin [Tue, 15 May 2018 10:46:33 +0000 (12:46 +0200)]
Particle edit: Allow children to be visible in edit mode

Follows tool settings, tested without copy-on-write.

Enabling copy-on-write still needs verification and likely some fixing.

2 years agoParticle edit: Move cache update to particle batch cache implementation
Sergey Sharybin [Tue, 15 May 2018 10:44:55 +0000 (12:44 +0200)]
Particle edit: Move cache update to particle batch cache implementation

The idea is to allow "regular" strands to update edit cache and hence
get the final update strands.

2 years agoDraw manager: Pass object to hair batch cache
Sergey Sharybin [Tue, 15 May 2018 10:38:49 +0000 (12:38 +0200)]
Draw manager: Pass object to hair batch cache

Currently unused, but is required for an upcoming work.

2 years agoParticle edit: Make check to work within copy-on-write concept
Sergey Sharybin [Tue, 15 May 2018 10:34:18 +0000 (12:34 +0200)]
Particle edit: Make check to work within copy-on-write concept

Not fully optimal, we can probably store pointer to original psys
similar to ID's orig_id.

2 years agoParticle edit: Edit path invalidate should trigger particle system path re-cache
Sergey Sharybin [Tue, 15 May 2018 10:32:01 +0000 (12:32 +0200)]
Particle edit: Edit path invalidate should trigger particle system path re-cache

Don't try to bend existing design, just follow it. It's not nice, but is
working. Just bring it back, then repeal and replace system as a whole,
making sure every bit is working according to a design.

Such quick patches only trying to make local sense of a system, defeating
it's design.

2 years agoParticle edit: Restore weird-looking conditions in evaluation
Sergey Sharybin [Tue, 15 May 2018 09:48:33 +0000 (11:48 +0200)]
Particle edit: Restore weird-looking conditions in evaluation

They might be looking weird, but they match conditions when children particles
are to be re-calculated for particle edit.

2 years agoParticle edit: Re-cache edit path if it's NULL
Sergey Sharybin [Tue, 15 May 2018 09:41:30 +0000 (11:41 +0200)]
Particle edit: Re-cache edit path if it's NULL

This is what old particle drawing code was doing.

2 years agoParticle edit: Decouple caches for regular and edit strands
Sergey Sharybin [Tue, 15 May 2018 09:39:14 +0000 (11:39 +0200)]
Particle edit: Decouple caches for regular and edit strands

Makes it possible to have children strands to be visible during combing.
Actual implementation still needs work though.

2 years agoParticle edit: Make visibility check to be per-particle system
Sergey Sharybin [Tue, 15 May 2018 09:35:39 +0000 (11:35 +0200)]
Particle edit: Make visibility check to be per-particle system

This way we can see other particle systems while combing another one.

2 years agoParticle edit: Use proper batch cache flag
Sergey Sharybin [Tue, 15 May 2018 09:23:27 +0000 (11:23 +0200)]
Particle edit: Use proper batch cache flag

Also tag batch for invalidation when using cut brush.

2 years agoParticle edit: Tag for updates when changing tool settings related on edit mode
Sergey Sharybin [Tue, 15 May 2018 09:22:20 +0000 (11:22 +0200)]
Particle edit: Tag for updates when changing tool settings related on edit mode

2 years agoParticle edit: Fix missing hair edit after toggling edit mode
Sergey Sharybin [Mon, 14 May 2018 13:37:54 +0000 (15:37 +0200)]
Particle edit: Fix missing hair edit after toggling edit mode

2 years agoFix hair edit mode after recent fix for DEG sued from draw code
Sergey Sharybin [Mon, 14 May 2018 13:34:41 +0000 (15:34 +0200)]
Fix hair edit mode after recent fix for DEG sued from draw code

2 years agoModifiers on Lattices now work
Sybren A. Stüvel [Tue, 15 May 2018 15:16:20 +0000 (17:16 +0200)]
Modifiers on Lattices now work

Tested with Hook and Armature modifiers. Requires CoW to be enabled.

2 years agoWorkbench: Renamed Overlap to Outline
Jeroen Bakker [Tue, 15 May 2018 15:03:59 +0000 (17:03 +0200)]
Workbench: Renamed Overlap to Outline

Outline is reserved for the Overlap Overlay

2 years agoFix broken PoseMode editing when CoW is enabled.
Bastien Montagne [Tue, 15 May 2018 14:29:19 +0000 (16:29 +0200)]
Fix broken PoseMode editing when CoW is enabled.

We need to get data from evaluated object/posechannel too, then...

2 years agoFix T55078: Assert statement
Jeroen Bakker [Tue, 15 May 2018 14:18:30 +0000 (16:18 +0200)]
Fix T55078: Assert statement

2 years agoChange startup defaults
Campbell Barton [Tue, 15 May 2018 12:40:01 +0000 (14:40 +0200)]
Change startup defaults

- Default Lamp increased strength (10x stronger)
- 3D View & Camera Lens = 50mm
- Camera film size = 36x24mm Full Frame
- Render Size Percentage = 100%
- Render Display = New Window
- Scene Units = Metric
- Color Management View = Filmic
- Workbench Object Overlap = ON
- Headers on top for all editors, except the Timeline at the bottom
- Default Properties tab = Object Properties
- Generate UV's = ON

See T47064

2 years agoWorkbench: Cleaner Shadow edges own shadow
Jeroen Bakker [Tue, 15 May 2018 13:19:57 +0000 (15:19 +0200)]
Workbench: Cleaner Shadow edges own shadow

2 years agoChange preference defaults
Campbell Barton [Tue, 15 May 2018 12:24:44 +0000 (14:24 +0200)]
Change preference defaults

- Python tooltips: OFF
- Auto Perspective: ON
- Navigation Manipulator: ON
- Region Overlap: ON

See T47064

2 years agoAdd icon placeholders for all the armature ops that got recently added in the toolbar
Joshua Leung [Tue, 15 May 2018 11:49:44 +0000 (13:49 +0200)]
Add icon placeholders for all the armature ops that got recently added in the toolbar

The icon designers still need to create these, but it's better to have placeholders
so they remember to do it.

2 years agoFix crash linking/appending from old files in some cases.
Brecht Van Lommel [Tue, 15 May 2018 11:23:01 +0000 (13:23 +0200)]
Fix crash linking/appending from old files in some cases.

Temporary main would not have a lock, which caused crashing when adding
datablocks.

2 years agoFix random crashes in the outliner, especially with bigger scenes.
Brecht Van Lommel [Tue, 15 May 2018 10:49:38 +0000 (12:49 +0200)]
Fix random crashes in the outliner, especially with bigger scenes.

The outliner can redraw quicker without rebuilding the tree, for example when
just moving the mouse and highlighting different items. The way this worked is
that the outliner would be tagged to avoid rebuilding, however if another
operation that does require rebuilding happens in the meantime we could go out
of sync and crash.

2 years agoPose Toolbar: Added Breakdowner/Push/Relax as separate tools
Joshua Leung [Tue, 15 May 2018 10:40:50 +0000 (12:40 +0200)]
Pose Toolbar: Added Breakdowner/Push/Relax as separate tools

Currently all are stacked together, but perhaps if we don't get any other
tools in the meantime, it would make sense to have them separate.

Notes:
* No icons for now...
* There are some 2.8 bugs with the underlying operators (notably multi object)

2 years agoEdit Armature Toolbar: Added some tools for "Shrink Fatten" (Alt-S) type bone transfo...
Joshua Leung [Tue, 15 May 2018 08:24:26 +0000 (10:24 +0200)]
Edit Armature Toolbar: Added some tools for "Shrink Fatten" (Alt-S) type bone transform tools

For fun, I tried adding some more edit armature tools to the toolbar to
check how this is all working. Icons are missing currently, but it's a
nice test.

2 years agoFix bone-size crash
Campbell Barton [Tue, 15 May 2018 09:36:39 +0000 (11:36 +0200)]
Fix bone-size crash

Own regression from multi-object transform.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 15 May 2018 09:14:33 +0000 (11:14 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: last spacetype enum name
Campbell Barton [Tue, 15 May 2018 09:12:49 +0000 (11:12 +0200)]
Cleanup: last spacetype enum name

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 15 May 2018 08:25:49 +0000 (10:25 +0200)]
Merge branch 'master' into blender2.8

2 years agoUndo System: remove nested edit-mode undo calls
Campbell Barton [Tue, 15 May 2018 08:02:01 +0000 (10:02 +0200)]
Undo System: remove nested edit-mode undo calls

Regression in recent undo system changes,
This caused T55048.

When each mode had its own undo stack it was important
to initialize it when entering edit-mode.

2 years agoFix texture space transform crash
Campbell Barton [Tue, 15 May 2018 07:24:14 +0000 (09:24 +0200)]
Fix texture space transform crash

Own regression from multi-object transform.

2 years agoFix T55061: Shadows were not updated during sclupting.
Jeroen Bakker [Tue, 15 May 2018 07:12:42 +0000 (09:12 +0200)]
Fix T55061: Shadows were not updated during sclupting.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 15 May 2018 07:08:48 +0000 (09:08 +0200)]
Merge branch 'master' into blender2.8

2 years agoFix BMesh bisect not flagging dirty indices
Campbell Barton [Tue, 15 May 2018 07:04:12 +0000 (09:04 +0200)]
Fix BMesh bisect not flagging dirty indices

2 years agoWorkbench: Enable Textures in Edit Mesh Mode
Jeroen Bakker [Tue, 15 May 2018 06:56:45 +0000 (08:56 +0200)]
Workbench: Enable Textures in Edit Mesh Mode

Constructed UV out of BMesh data layers.

2 years agoCleanup: Use switch statement to test the object type in snap functions.
Germano [Mon, 14 May 2018 21:43:03 +0000 (18:43 -0300)]
Cleanup: Use switch statement to test the object type in snap functions.

2 years agoEditMesh: updated extrude manipulator
Campbell Barton [Mon, 14 May 2018 21:21:59 +0000 (23:21 +0200)]
EditMesh: updated extrude manipulator

Now plus icons are used to add,
arrows are used to adjust existing extrusions.

2 years agoManipulator: outline & helpline options for button
Campbell Barton [Mon, 14 May 2018 21:18:36 +0000 (23:18 +0200)]
Manipulator: outline & helpline options for button

2 years agoManipulator: utility to get matrix w/o offset
Campbell Barton [Mon, 14 May 2018 21:15:15 +0000 (23:15 +0200)]
Manipulator: utility to get matrix w/o offset

2 years agoCleanup: compiler warnings, use const
Campbell Barton [Mon, 14 May 2018 21:12:51 +0000 (23:12 +0200)]
Cleanup: compiler warnings, use const

2 years agoTransform: Use the new BLI_bvhtree_find_nearest_projected function to snap.
Germano [Mon, 14 May 2018 19:08:17 +0000 (16:08 -0300)]
Transform: Use the new BLI_bvhtree_find_nearest_projected function to snap.

2 years agoNew function for BLI_kdopbvh: `BLI_bvhtree_find_nearest_projected`.
Germano [Mon, 14 May 2018 19:00:13 +0000 (16:00 -0300)]
New function for BLI_kdopbvh: `BLI_bvhtree_find_nearest_projected`.

This patch does not make any difference for a user's POV. But it is a step for adding the occlusion test for snapping functions.
This new function finds the node(aabb) whose projection is closest to a screen coordinate.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Tags: #bf_blender_2.8

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

2 years agoFix crash opening 01_015_A.lighting.blend - DL_INDEX3 displist have a single normal...
Bastien Montagne [Mon, 14 May 2018 15:39:41 +0000 (17:39 +0200)]
Fix crash opening 01_015_A.lighting.blend - DL_INDEX3 displist have a single normal, not one per vertex!

2 years agoView 3D: Use Z Key for "geometry occlusion" toggle
Dalai Felinto [Mon, 14 May 2018 15:17:02 +0000 (17:17 +0200)]
View 3D: Use Z Key for "geometry occlusion" toggle

Note: The header doesn't update until you mouse hover it.

2 years agoFix error in MESH_OT_edge_face_add changes
Campbell Barton [Mon, 14 May 2018 14:31:44 +0000 (16:31 +0200)]
Fix error in MESH_OT_edge_face_add changes

Context sensitive create also needs to check selected vertices.

Also correct indentation.

2 years agoFix error moving pivot
Campbell Barton [Mon, 14 May 2018 14:25:16 +0000 (16:25 +0200)]
Fix error moving pivot

Missed updating keymap RNA paths.

2 years agoFix UI failing for vertex paint
Dalai Felinto [Mon, 14 May 2018 14:11:05 +0000 (16:11 +0200)]
Fix UI failing for vertex paint

2 years agoMulti-Objects: MESH_OT_vert_connect_path by Falk David
Dalai Felinto [Mon, 14 May 2018 13:55:14 +0000 (15:55 +0200)]
Multi-Objects: MESH_OT_vert_connect_path by Falk David

With a few changes:
* Use space after if.
* Skip for loop when no selected vertices.

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3349

2 years agoMulti-Objects: MESH_OT_edge_face_add by Guy Boicey
Dalai Felinto [Mon, 14 May 2018 13:39:58 +0000 (15:39 +0200)]
Multi-Objects: MESH_OT_edge_face_add by Guy Boicey

With changes by Dalai Felinto:
* Indentation
* Skip for loop when no vert/edge are selected

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3233

2 years agoCOW Fix: The "layers used" display for armatures did not update after bones were...
Joshua Leung [Mon, 14 May 2018 13:42:49 +0000 (15:42 +0200)]
COW Fix: The "layers used" display for armatures did not update after bones were moved between layers

Previously, the "layers_used" value was getting updated by the drawing code.
However, when using copy on write, the drawing code gets evaluated copies of
the armature data instead of the original data, so any updates here fail to
get flushed to the original data, hence the lack of updates in the UI.

Fixed by moving the calculation to RNA when setting bone layers, as it should
have been done originally. (The one downside to this is if we set individual
layer memberships one by one - this could be slower as the recalc would have to
happen each time this changes).

2 years agoFix: With no bones selected, move bones to layer operator would display garbage layer set
Joshua Leung [Mon, 14 May 2018 12:37:14 +0000 (14:37 +0200)]
Fix: With no bones selected, move bones to layer operator would display garbage layer set

Was using uninitialised memory

2 years agoFix: POSE_OT_select_constraint_target now works with copy on write
Joshua Leung [Mon, 14 May 2018 11:54:45 +0000 (13:54 +0200)]
Fix: POSE_OT_select_constraint_target now works with copy on write

2 years agoMESH_OT_select_mirror: Only report when something to report
Dalai Felinto [Mon, 14 May 2018 13:26:29 +0000 (15:26 +0200)]
MESH_OT_select_mirror: Only report when something to report

Inspired by D3299.

2 years agoMulti- Objects: MESH_OT_select_face_by_sides by Rainer Trummer
Dalai Felinto [Mon, 14 May 2018 13:21:06 +0000 (15:21 +0200)]
Multi- Objects: MESH_OT_select_face_by_sides by Rainer Trummer

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3301

2 years agoMulti-Object: MESH_OT_vert_connect_concave by Guy Boicey
Dalai Felinto [Mon, 14 May 2018 12:56:00 +0000 (14:56 +0200)]
Multi-Object: MESH_OT_vert_connect_concave by Guy Boicey

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3255

2 years agoManipulator: fix 2D icon buttons in the 3D view
Campbell Barton [Mon, 14 May 2018 12:46:37 +0000 (14:46 +0200)]
Manipulator: fix 2D icon buttons in the 3D view

2 years agoSome cleanup in modifiers' mesh copying.
Bastien Montagne [Mon, 14 May 2018 12:34:00 +0000 (14:34 +0200)]
Some cleanup in modifiers' mesh copying.

2 years agoFix T55031: add explicit copy flag to force deep-copying shapekey datablock with...
Bastien Montagne [Mon, 14 May 2018 12:23:11 +0000 (14:23 +0200)]
Fix T55031: add explicit copy flag to force deep-copying shapekey datablock with 'parent' one.

Chose to change defaut behavior (0-flag one) here, for sake of
consistency. Default behavior of simple BKE_id_copy() remains unchanged
though.

2 years agoT54643-Multi-Object EditMesh: MESH_OT_select_nth
Luc Revardel [Mon, 14 May 2018 11:57:17 +0000 (13:57 +0200)]
T54643-Multi-Object EditMesh: MESH_OT_select_nth

With changes by Dalai Felinto:
* Move WM_operator.* outside for loop.
* Update error message to handle Mesh and Meshes.
* Skip main functionality when no vert/edge/face is selected.

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3371

2 years agoUI Tweaks in 3D View
Pablo Vazquez [Mon, 14 May 2018 12:00:29 +0000 (14:00 +0200)]
UI Tweaks in 3D View

* Move Shading modes out of the popover
* Move Show Overlays out of the popover
* Test moving the Mode to the topbar again
* Move submode (select vertex, edge, face) to the topbar
* Remove icon from show_manipulator toggle

2 years agoMulti-Object: MESH_OT_select_mirror
Dalai Felinto [Mon, 14 May 2018 11:43:20 +0000 (13:43 +0200)]
Multi-Object: MESH_OT_select_mirror

2 years agoFix extrude adjustment on normal axis
Campbell Barton [Mon, 14 May 2018 11:45:13 +0000 (13:45 +0200)]
Fix extrude adjustment on normal axis

2 years agoFix: Skip missing COW tagging on changing armature layers via RNA
Joshua Leung [Mon, 14 May 2018 11:42:23 +0000 (13:42 +0200)]
Fix: Skip missing COW tagging on changing armature layers via RNA

Was causing problems on Spring rig while trying to show/hide armature layers

2 years agoFix incorrect matrix stack push/pop
Campbell Barton [Mon, 14 May 2018 11:03:04 +0000 (13:03 +0200)]
Fix incorrect matrix stack push/pop

2 years agoMulti-Object: MESH_OT_vert_connect_nonplanar by Aeden McClain
Dalai Felinto [Mon, 14 May 2018 11:02:00 +0000 (13:02 +0200)]
Multi-Object: MESH_OT_vert_connect_nonplanar by Aeden McClain

With indentation fixes by Dalai Felinto.

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3312

2 years agoMulti-Objects: VIEW3D_OT_snap_selected_to_gri by Leon Eckardtd
Dalai Felinto [Mon, 14 May 2018 10:51:55 +0000 (12:51 +0200)]
Multi-Objects: VIEW3D_OT_snap_selected_to_gri by Leon Eckardtd

With changes by Dalai Felinto (skip for loop when no vert/edgeface selected).

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3302

2 years agoMerge branch 'blender2.8' of git.blender.org:blender into blender2.8
Jeroen Bakker [Mon, 14 May 2018 10:44:05 +0000 (12:44 +0200)]
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8

2 years agoFix extrude manipulator update w/ view orientation
Campbell Barton [Mon, 14 May 2018 10:24:44 +0000 (12:24 +0200)]
Fix extrude manipulator update w/ view orientation

2 years agoMulti-Object: MESH_OT_convex_hull by Lucas Boutrot
Dalai Felinto [Mon, 14 May 2018 10:18:42 +0000 (12:18 +0200)]
Multi-Object: MESH_OT_convex_hull by Lucas Boutrot

Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3223

2 years agoWorkbench: Named background rendering
Jeroen Bakker [Mon, 14 May 2018 10:07:58 +0000 (12:07 +0200)]
Workbench: Named background rendering

2 years agoWorkbench: Render studio hdr name in selection
Jeroen Bakker [Mon, 14 May 2018 08:32:28 +0000 (10:32 +0200)]
Workbench: Render studio hdr name in selection

2 years agoParticle edit: Avoid depsgraph tag from draw code
Sergey Sharybin [Mon, 14 May 2018 08:15:54 +0000 (10:15 +0200)]
Particle edit: Avoid depsgraph tag from draw code

Some of the function was intended to be used form drawing as well,
for until that is changed in design we can not use dependency graph
tags form it.