blender.git
21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 26 Sep 2018 00:28:23 +0000 (10:28 +1000)]
Merge branch 'master' into blender2.8

21 months agoMulti-Objects: Selects similar face SIMFACE_COPLANAR
Dalai Felinto [Wed, 26 Sep 2018 00:09:29 +0000 (21:09 -0300)]
Multi-Objects: Selects similar face SIMFACE_COPLANAR

Unlike 2.79 I am not using the comparison type to get coplanar planes that are above/below the plane.
That seems arbritary at best, and a bit of a challenge to get it right.

Also, I'm doing some shenanigans to use a single tree to store the face direction and the distance.
Here in my tests it is working fine though.

21 months agoCleanup: naming of DRW mesh weight API
Campbell Barton [Wed, 26 Sep 2018 00:16:17 +0000 (10:16 +1000)]
Cleanup: naming of DRW mesh weight API

21 months agoCleanup: warnings, style
Campbell Barton [Wed, 26 Sep 2018 00:01:32 +0000 (10:01 +1000)]
Cleanup: warnings, style

21 months agoMulti-Objects: Select similar face SIMFACE_FACEMAP
Dalai Felinto [Tue, 25 Sep 2018 22:57:39 +0000 (19:57 -0300)]
Multi-Objects: Select similar face SIMFACE_FACEMAP

Facemap is per object, so we store them in a gset per object, and only check the object
faces with its own facemaps.

21 months agoRemove wrongly copy/pasted comment on object_facemap_ops.c
Dalai Felinto [Tue, 25 Sep 2018 22:40:11 +0000 (19:40 -0300)]
Remove wrongly copy/pasted comment on object_facemap_ops.c

21 months agoCurve Edit: Fix handles glitch when MSAA is enable
Clément Foucault [Tue, 25 Sep 2018 22:49:22 +0000 (00:49 +0200)]
Curve Edit: Fix handles glitch when MSAA is enable

21 months agoCurve Edit: Cleanup/Improve/Fix handles drawing
Clément Foucault [Tue, 25 Sep 2018 22:48:55 +0000 (00:48 +0200)]
Curve Edit: Cleanup/Improve/Fix handles drawing

Now handles are drawn using index buffer instead of duplicating memory
requirement.

Also make use of shader tricks to draw handles antialiased, and respond to
UI scalling.

Make vertex point match edit mesh vertex size.

21 months agoMulti-Objects: Select similar face SIMFACE_FREESTYLE
Dalai Felinto [Tue, 25 Sep 2018 22:10:58 +0000 (19:10 -0300)]
Multi-Objects: Select similar face SIMFACE_FREESTYLE

Note: 2.7x seem to be checking for edge data instead of face, but I do not see why not to get FreestyleFace.

21 months agoMulti-Objects: Select similar face SIMFACE_SMOOTH
Dalai Felinto [Tue, 25 Sep 2018 21:57:28 +0000 (18:57 -0300)]
Multi-Objects: Select similar face SIMFACE_SMOOTH

21 months agoMulti-Objects: Select similar face SIMFACE_NORMAL
Dalai Felinto [Tue, 25 Sep 2018 21:13:56 +0000 (18:13 -0300)]
Multi-Objects: Select similar face SIMFACE_NORMAL

We could/can deduplicate the code with SIMVERT_NORMAL.

21 months agoMulti-Objects: Select similar face SIMFACE_AREA and SIMFACE_PERIMETER
Dalai Felinto [Tue, 25 Sep 2018 20:36:37 +0000 (17:36 -0300)]
Multi-Objects: Select similar face SIMFACE_AREA and SIMFACE_PERIMETER

Note: Not doing worldspace comparison for now. We would need to create new
BM_face_calc_area and BM_face_calc_perimeter equivalent functions for that.

Not sure if it is worth the trouble.

21 months agoMulti-Objects: Select similar face SIMFACE_MATERIAL
Dalai Felinto [Tue, 25 Sep 2018 20:24:37 +0000 (17:24 -0300)]
Multi-Objects: Select similar face SIMFACE_MATERIAL

Note: Unlike 2.79 we are not comparing face->mat_nr, but the material itself.
On top og that, if the material slot is empty we are just ignoring this face.

21 months agoMulti-Objects: Select similar face SIMFACE_SIDES
Dalai Felinto [Tue, 25 Sep 2018 19:54:58 +0000 (16:54 -0300)]
Multi-Objects: Select similar face SIMFACE_SIDES

21 months agoCleanup comments on select similar edge
Dalai Felinto [Tue, 25 Sep 2018 20:33:15 +0000 (17:33 -0300)]
Cleanup comments on select similar edge

21 months agoFix memleak on edbm_select_linked_pick_invoke
Dalai Felinto [Tue, 25 Sep 2018 21:05:36 +0000 (18:05 -0300)]
Fix memleak on edbm_select_linked_pick_invoke

Issue introduced on 549ac6ddebef.

21 months agoRemove warnings
Dalai Felinto [Tue, 25 Sep 2018 22:18:00 +0000 (19:18 -0300)]
Remove warnings

21 months agoEdit Curves: Fix warnings due to recent changes
Clément Foucault [Tue, 25 Sep 2018 21:04:27 +0000 (23:04 +0200)]
Edit Curves: Fix warnings due to recent changes

21 months agoCode style cleanup after recent object drawing > viewport changes
Dalai Felinto [Tue, 25 Sep 2018 20:55:57 +0000 (17:55 -0300)]
Code style cleanup after recent object drawing > viewport changes

21 months agoEdit Curve: Fix cannot hide handles
Clément Foucault [Tue, 25 Sep 2018 18:56:22 +0000 (20:56 +0200)]
Edit Curve: Fix cannot hide handles

21 months agoCurves: Move draw options to overlays
Clément Foucault [Tue, 25 Sep 2018 16:50:57 +0000 (18:50 +0200)]
Curves: Move draw options to overlays

This commit add one regression: it is impossible to currently hide handles
in the viewport. But this should be fixed in another commit.

21 months agoWeight Paint: Fix weight paint overlay not displaying correctly
Clément Foucault [Tue, 25 Sep 2018 14:42:23 +0000 (16:42 +0200)]
Weight Paint: Fix weight paint overlay not displaying correctly

This was because weight paint was using the original obj to show weights.
But the mesh can be deformed by the armature and this is not visible on
the original object.

21 months agoEevee: Don't render meshes in hidden wire mode
Clément Foucault [Mon, 24 Sep 2018 21:18:28 +0000 (23:18 +0200)]
Eevee: Don't render meshes in hidden wire mode

21 months agoEdit Mesh: Move Edit Mesh display settings to overlay's
Clément Foucault [Mon, 24 Sep 2018 21:18:02 +0000 (23:18 +0200)]
Edit Mesh: Move Edit Mesh display settings to overlay's

This makes the Edit Mesh display settings common to all objects. They can
also be set differently per viewport.

Modifying extra data (seams, sharp edges etc...) will no longer set them
automaticaly visible.

Bumping version because we need to force set all extra draw options for
older files.

21 months agoEdit Mesh: Center text when Edge length & Edge Angle is activated
Clément Foucault [Mon, 24 Sep 2018 17:48:08 +0000 (19:48 +0200)]
Edit Mesh: Center text when Edge length & Edge Angle is activated

This is more readable as the informations will never overlap and be off the
center of the edge.

21 months agoMulti-Objects: Select similar edge SIMEDGE_CREASE and SIMEDGE_CREASE
Dalai Felinto [Tue, 25 Sep 2018 19:34:29 +0000 (16:34 -0300)]
Multi-Objects: Select similar edge SIMEDGE_CREASE and SIMEDGE_CREASE

All edge options are done now.

21 months agoAdd fixed width/height parameter for layouts
Antonioya [Tue, 25 Sep 2018 18:59:04 +0000 (20:59 +0200)]
Add fixed width/height parameter for layouts

New parameters to define a fixed size for a layout. This allows to avoid UI changes when the text length changes.

This commit implements D3725

21 months agoGP: New pressure option for sculpt brush radius
Antonioya [Tue, 25 Sep 2018 18:43:50 +0000 (20:43 +0200)]
GP: New pressure option for sculpt brush radius

21 months agoGP: Add const to variable
Antonioya [Tue, 25 Sep 2018 18:23:55 +0000 (20:23 +0200)]
GP: Add const  to variable

21 months agoFix T56917: GP noise modifier vertex group crash
Antonioya [Tue, 25 Sep 2018 17:48:57 +0000 (19:48 +0200)]
Fix T56917: GP noise modifier vertex group crash

21 months agoGP: Fix multi viewport onion error
Antonioya [Tue, 25 Sep 2018 17:30:50 +0000 (19:30 +0200)]
GP: Fix multi viewport onion error

For onion skin, the cache is set as dirty always because can be too many combinations of overlays and windows and makes impossible to control all changes of dirty flag.

This reduces performance, but it's safer and the onion is disabled while play animation, so the fps value is not affected.

21 months agoCMake: Repress deprecation warnings with MSVC.
Ray Molenkamp [Tue, 25 Sep 2018 17:05:01 +0000 (11:05 -0600)]
CMake: Repress deprecation warnings with MSVC.

21 months agoGP: New deselect by material option
Antonioya [Tue, 25 Sep 2018 17:01:12 +0000 (19:01 +0200)]
GP: New deselect by material option

Now the operator to select by color can unselect too.

21 months agoGP: Small changes to assign color operator
Antonioya [Tue, 25 Sep 2018 16:44:53 +0000 (18:44 +0200)]
GP: Small changes to assign color operator

21 months agoFix UV edit smart stitch not redoing correctly.
Alan Troth [Tue, 25 Sep 2018 16:29:56 +0000 (18:29 +0200)]
Fix UV edit smart stitch not redoing correctly.

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

21 months agoGP: Add multiframe support to select by color
Antonioya [Tue, 25 Sep 2018 16:17:34 +0000 (18:17 +0200)]
GP: Add multiframe support to select by color

21 months agoGP: Fix select strokes by color error
Antonioya [Tue, 25 Sep 2018 16:06:50 +0000 (18:06 +0200)]
GP: Fix select strokes  by color error

21 months agodepsgraph: re-Fix 32 bit shift bug in get_visible_components_mask.
Ray Molenkamp [Tue, 25 Sep 2018 16:12:23 +0000 (10:12 -0600)]
depsgraph: re-Fix 32 bit shift bug in get_visible_components_mask.

1UL << n still results in a 32 bit result, 1ULL << n actually retains all 64 bits.

fixes stupid typo in rBbd51cada8db64e45cabca66cd61438c1ae2bdf25

21 months agoImplement correct drawing of advanced Weight display features.
Alexander Gavrilov [Sun, 23 Sep 2018 17:41:10 +0000 (20:41 +0300)]
Implement correct drawing of advanced Weight display features.

This adds existing behavior from calc_weightpaint_vert_array
that was missing from the new rendering code:

- No selected Vertex Group displays as a solid pink color.
- Zero weight displays as alert color depending on Options.
- Multipaint mode correctly displays collective weight.

In order to properly implement this variety, a data structure
holding all relevant parameters is introduced.

Reviewers: fclem, campbellbarton

Subscribers: jbakker

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

21 months agodepsgraph: Fix 32 bit shift bug in get_visible_components_mask.
Ray Molenkamp [Tue, 25 Sep 2018 15:23:00 +0000 (09:23 -0600)]
depsgraph: Fix 32 bit shift bug in get_visible_components_mask.

1 << n results in a 32 bit result, 1UL << n retains all 64 bits.

21 months agodespgraph: Use regular iterators for erase, fixes build error on centOS
Ray Molenkamp [Tue, 25 Sep 2018 14:35:31 +0000 (08:35 -0600)]
despgraph: Use regular iterators for erase, fixes build error on centOS

CentOS7 ships with gcc 4.8.2 which does not support the const_iterator for erase.

21 months agoGP: Add popover for Sculpt and Weight Paint panels
Antonioya [Tue, 25 Sep 2018 13:38:56 +0000 (15:38 +0200)]
GP: Add popover for Sculpt and Weight Paint panels

21 months agoFix missing metaball capsule properties in properties editor.
Michel Anders [Tue, 25 Sep 2018 13:04:10 +0000 (15:04 +0200)]
Fix missing metaball capsule properties in properties editor.

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

21 months agoFix broken shift + A menu in curve edit mode.
Roel Koster [Tue, 25 Sep 2018 12:54:53 +0000 (14:54 +0200)]
Fix broken shift + A menu in curve edit mode.

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

21 months agoModifiers: use Mesh instead of DerivedMesh for explode.
Sebastian Parborg [Tue, 25 Sep 2018 10:35:43 +0000 (12:35 +0200)]
Modifiers: use Mesh instead of DerivedMesh for explode.

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

21 months agoGP: Remove Strokes menu in Sculpt mode
Antonioya [Tue, 25 Sep 2018 11:22:15 +0000 (13:22 +0200)]
GP: Remove Strokes menu in Sculpt mode

21 months agoGP: Add select tools in sculpt mode
Antonioya [Tue, 25 Sep 2018 11:17:48 +0000 (13:17 +0200)]
GP: Add select tools in sculpt mode

21 months agoFix build on windows after ccg changes
Dalai Felinto [Tue, 25 Sep 2018 11:26:31 +0000 (11:26 +0000)]
Fix build on windows after ccg changes

21 months agoMerge branch 'blender2.8' of https://git.blender.org/blender into blender2.8
unknown [Tue, 25 Sep 2018 11:18:15 +0000 (08:18 -0300)]
Merge branch 'blender2.8' of https://git.blender.org/blender into blender2.8

21 months agoMultires: Allow changing sculpt level without loosing data
Sergey Sharybin [Tue, 25 Sep 2018 10:31:01 +0000 (12:31 +0200)]
Multires: Allow changing sculpt level without loosing data

As the comment states, this is not really great solution, but
is good enough for now. Proper solution needs some more work,
and maybe reconsideration of what is stored where.

21 months agoCustomData: Allow copying content of a single layer
Sergey Sharybin [Tue, 25 Sep 2018 10:27:43 +0000 (12:27 +0200)]
CustomData: Allow copying content of a single layer

21 months agoFix T56912: bpy.data.masks.new() crashed
Jacques Lucke [Tue, 25 Sep 2018 10:01:43 +0000 (12:01 +0200)]
Fix T56912: bpy.data.masks.new() crashed

I think there are two possible ways to fix that.
1. Make the name a required parameter.
2. Provide a default value.

I choosed option 1 in this fix to be consistent with other .new functions.

Also I think `RNA_def_string` instead of `RNA_def_string_file_path` should be used here. Looks like a copy-paste error.

Reviewers: brecht

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

21 months agoCleanup: indentation
Sergey Sharybin [Tue, 25 Sep 2018 09:38:41 +0000 (11:38 +0200)]
Cleanup: indentation

21 months agoMultires: Make code more ready for mesh uised by multiple objects
Sergey Sharybin [Tue, 25 Sep 2018 08:44:29 +0000 (10:44 +0200)]
Multires: Make code more ready for mesh uised by multiple objects

Probably more work is needed, but is good starting point.

21 months agoCleanup: Variable name in mesh runtime
Sergey Sharybin [Tue, 25 Sep 2018 08:32:34 +0000 (10:32 +0200)]
Cleanup: Variable name in mesh runtime

Matches type better, avoiding possible confusion.

21 months agoMultires: Pass total level instead of modifier data
Sergey Sharybin [Tue, 25 Sep 2018 07:58:40 +0000 (09:58 +0200)]
Multires: Pass total level instead of modifier data

This is the only thing which needs to be done to perform propoer
reshape. Makes it easier to re-use code from other places.

21 months agoMultires: Pass mesh instead of object
Sergey Sharybin [Mon, 24 Sep 2018 14:59:27 +0000 (16:59 +0200)]
Multires: Pass mesh instead of object

There is nothing we need from object in this case.

21 months agoGizmo: dial support for a click setting a value
Campbell Barton [Tue, 25 Sep 2018 05:14:17 +0000 (15:14 +1000)]
Gizmo: dial support for a click setting a value

Useful for click w/o drag to spin a full revolution.

21 months agoGizmo: reset dial value on cancel
Campbell Barton [Tue, 25 Sep 2018 04:37:19 +0000 (14:37 +1000)]
Gizmo: reset dial value on cancel

21 months agoGizmo: support spin tool normal flipping
Campbell Barton [Tue, 25 Sep 2018 04:15:12 +0000 (14:15 +1000)]
Gizmo: support spin tool normal flipping

Use the 2x spin tool has 2x handles to control normal direction,
dragging either handle backwards now reverses normals.

Previously it was common for the spin result to have normals
flipped the wrong way.

21 months agoMissing from last commit
Campbell Barton [Tue, 25 Sep 2018 03:44:25 +0000 (13:44 +1000)]
Missing from last commit

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 25 Sep 2018 03:42:51 +0000 (13:42 +1000)]
Merge branch 'master' into blender2.8

21 months agoBMesh: option to flip normals for extrude/spin
Campbell Barton [Tue, 25 Sep 2018 03:31:29 +0000 (13:31 +1000)]
BMesh: option to flip normals for extrude/spin

21 months agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 25 Sep 2018 01:42:44 +0000 (11:42 +1000)]
Merge branch 'master' into blender2.8

21 months agoCleanup: style
Campbell Barton [Tue, 25 Sep 2018 01:41:29 +0000 (11:41 +1000)]
Cleanup: style

21 months agoGP: Move MIrror modifier to Generate column
Antonioya [Mon, 24 Sep 2018 20:26:44 +0000 (22:26 +0200)]
GP: Move MIrror modifier to Generate column

21 months agoGP: Move Unlock Color to Adjustments panel
Antonioya [Mon, 24 Sep 2018 20:26:21 +0000 (22:26 +0200)]
GP: Move Unlock Color to Adjustments panel

This option is not used all the time and can be moved to additional panel

21 months agoGP: Disable AA for material previews
Antonioya [Mon, 24 Sep 2018 20:10:08 +0000 (22:10 +0200)]
GP: Disable AA for material previews

This is not visible and it's using a lot of GPU memory

21 months agoRemove unused files
mano-wii [Mon, 24 Sep 2018 17:50:20 +0000 (14:50 -0300)]
Remove unused files

21 months agoSpelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
Brecht Van Lommel [Mon, 24 Sep 2018 16:46:51 +0000 (18:46 +0200)]
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.

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

21 months agoBGL: Wrap glBlitFramebuffer
mano-wii [Mon, 24 Sep 2018 16:11:28 +0000 (13:11 -0300)]
BGL: Wrap glBlitFramebuffer

21 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Mon, 24 Sep 2018 16:11:14 +0000 (18:11 +0200)]
Merge branch 'master' into blender2.8

21 months agoFix T56861: freestyle + BI + full sample AA not working correct.
IRIE Shinsuke [Mon, 24 Sep 2018 16:08:24 +0000 (18:08 +0200)]
Fix T56861: freestyle + BI + full sample AA not working correct.

21 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Mon, 24 Sep 2018 15:41:46 +0000 (17:41 +0200)]
Merge branch 'master' into blender2.8

21 months agoSpelling fixes in comments and descriptions, patch by luzpaz.
Brecht Van Lommel [Mon, 24 Sep 2018 15:27:41 +0000 (17:27 +0200)]
Spelling fixes in comments and descriptions, patch by luzpaz.

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

21 months agoModifiers: use Mesh instead of DerivedMesh for dynamic paint.
Sebastian Parborg [Mon, 24 Sep 2018 14:32:29 +0000 (16:32 +0200)]
Modifiers: use Mesh instead of DerivedMesh for dynamic paint.

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

21 months agoWeight Paint: Multiply overlay on the mesh
Jacques Lucke [Mon, 24 Sep 2018 15:10:29 +0000 (17:10 +0200)]
Weight Paint: Multiply overlay on the mesh

Use the multiply blending mode for the weight paint overlay.
To support the opacity slider, we need a new shader. Otherwise this combination of multiplication and mixing does not seem to be supported by glBlendFunc.

Reviewers: brecht

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

21 months agoGP: Some changes in Appearance panel
Antonioya [Mon, 24 Sep 2018 14:35:07 +0000 (16:35 +0200)]
GP: Some changes in Appearance panel

21 months agoTracking: Use pixel aspect from clip
Sergey Sharybin [Mon, 24 Sep 2018 14:23:45 +0000 (16:23 +0200)]
Tracking: Use pixel aspect from clip

Don't force square pixel, since on a more real pipeline
expected delivery is same anamorphic as an input footage.

21 months agoDepsgraph: Always respect visibility flag when building object
Sergey Sharybin [Mon, 24 Sep 2018 13:45:15 +0000 (15:45 +0200)]
Depsgraph: Always respect visibility flag when building object

Before it was only doing this for directly linked objects. This was
initially needed to solve fps issues in some of the shots. Now this
fps drop i can no longer reproduce. Was likely needed prior to
modifiers dependencies "inheriting" visibility from the "parent".

This commit makes it so objects which are linked indirectly to the
scene via collections are properly considered visible (or, rather,
evaluatable) by dependency graph.

Solves missing eyelashes and braids issues with 01_035_A.

21 months agoDepsgraph: Tweak to visibility flush
Sergey Sharybin [Mon, 24 Sep 2018 13:41:00 +0000 (15:41 +0200)]
Depsgraph: Tweak to visibility flush

Make flush ready for component forced to be affecting visible things
from builder.

21 months agoDepsgraph: Provide more information about component
Sergey Sharybin [Mon, 24 Sep 2018 13:40:23 +0000 (15:40 +0200)]
Depsgraph: Provide more information about component

21 months agoDepsgraph: Cleanup, spelling in comment
Sergey Sharybin [Mon, 24 Sep 2018 13:39:42 +0000 (15:39 +0200)]
Depsgraph: Cleanup, spelling in comment

21 months agoCleanup: Spelling
Sergey Sharybin [Mon, 24 Sep 2018 11:30:15 +0000 (13:30 +0200)]
Cleanup: Spelling

21 months agoFix T56895: crash loading template with Load UI unchecked.
Brecht Van Lommel [Mon, 24 Sep 2018 13:41:12 +0000 (15:41 +0200)]
Fix T56895: crash loading template with Load UI unchecked.

21 months agoBuild: allow overriding DEPS_BUILD_DIR and DEPS_INSTALL_DIR for make deps.
Brecht Van Lommel [Mon, 24 Sep 2018 12:50:01 +0000 (14:50 +0200)]
Build: allow overriding DEPS_BUILD_DIR and DEPS_INSTALL_DIR for make deps.

21 months agoFix: insert missing break in switch statement (second try)
Jacques Lucke [Mon, 24 Sep 2018 13:44:12 +0000 (15:44 +0200)]
Fix: insert missing break in switch statement (second try)

21 months agoRevert "Fix: insert missing break in switch statement"
Jacques Lucke [Mon, 24 Sep 2018 13:40:01 +0000 (15:40 +0200)]
Revert "Fix: insert missing break in switch statement"

This reverts commit e904bb64df1f0f0275dc209a31cff5ad2a10b79e.

21 months agoFix object restrict selection toggle in outliner not working
Dalai Felinto [Mon, 24 Sep 2018 11:53:25 +0000 (11:53 +0000)]
Fix object restrict selection toggle in outliner not working

21 months agoAdd support for a one-dimensional Force Field source shape.
Alexander Gavrilov [Sun, 23 Sep 2018 10:10:31 +0000 (13:10 +0300)]
Add support for a one-dimensional Force Field source shape.

The fields currently support a Point source and a two-dimensional
Plane source, but there is no way to create a field that pulls
toward or from a line in space other than using the Texture field
type. This adds a new simple shape option to do that.

The line is aligned along the Z axis so that it works meaningfully
with the Tube and Cone falloff modes.

Reviewers: brecht, mont29, LucaRood

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

21 months agoGP: Make topbar layer popover wider
Antonioya [Mon, 24 Sep 2018 10:57:11 +0000 (12:57 +0200)]
GP: Make topbar layer popover wider

21 months agoFix: insert missing break in switch statement
Jacques Lucke [Mon, 24 Sep 2018 10:43:26 +0000 (12:43 +0200)]
Fix: insert missing break in switch statement

Reviewers: brecht

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

21 months agoFix T56875: Auto Render not working after render pass name refactor
Lukas Stockner [Mon, 24 Sep 2018 09:40:00 +0000 (11:40 +0200)]
Fix T56875: Auto Render not working after render pass name refactor

The default compositor node update function sets the need_exec flag on the node
which the Auto Render feature checks, but the custom update function that was
added as part of rB4cf7fc3b3a4d didn't do so.

Therefore, the two custom update functions that were added now also call the
default update function.

21 months agoGizmo: hide redo gizmo when spin tool not active
Campbell Barton [Mon, 24 Sep 2018 07:12:54 +0000 (17:12 +1000)]
Gizmo: hide redo gizmo when spin tool not active

Selecting a another tool left the gizmo,
which could overlap other tools gizmos.

21 months agoGizmo: show partial arc & icons for spin tool
Campbell Barton [Mon, 24 Sep 2018 07:06:49 +0000 (17:06 +1000)]
Gizmo: show partial arc & icons for spin tool

21 months agoGizmo: dial3d option to draw a partial arc
Campbell Barton [Mon, 24 Sep 2018 07:06:04 +0000 (17:06 +1000)]
Gizmo: dial3d option to draw a partial arc

21 months agoGizmo: option to hide from selection
Campbell Barton [Mon, 24 Sep 2018 06:40:21 +0000 (16:40 +1000)]
Gizmo: option to hide from selection

Allows some gizmo to be used as guides.

21 months agoGPU: utility function to draw a partial circle
Campbell Barton [Mon, 24 Sep 2018 06:22:22 +0000 (16:22 +1000)]
GPU: utility function to draw a partial circle

21 months agoCleanup: rename gizmo flag
Campbell Barton [Mon, 24 Sep 2018 06:20:08 +0000 (16:20 +1000)]
Cleanup: rename gizmo flag

21 months agoGizmo: add spin-tool rotate on view axis
Campbell Barton [Mon, 24 Sep 2018 00:09:48 +0000 (10:09 +1000)]
Gizmo: add spin-tool rotate on view axis

This also acts to catch stray click events so missing a gizmo
doesn't move the cursor or execute another spin action.