Blender Git Loki

Git Commits -> Revision 82e7032

Revision 82e7032 by Pablo Dobarro (master)
March 2, 2021, 15:53 (GMT)
Sculpt: Expand Operator

Expand is a new operator for Sculpt Mode which is intended to be the main
tool for masking, Face Set editing, interacting with the filters and pattern
creation.

The fundamentals of the tool are similar to the previous sculpt.mask_expand
operator. It shares the same default shortcuts and functionality, making
the previous operator obsolete.

The shortcuts to execute the operator are:
- Shift + A: Expand mask
- Shift + Alt + A: Expand mask by normals
- Shift + W: Expand Face Set
- Shift + Alt + W: Resize current Face Set

The main changes compared to the previous sculpt.mask_expand operator are:
- Modal keymap, all operator options can be changed in real time while the
operator is running.
- Supports creating Mask, Face Sets and Sculpt Vertex Colors.
- Much better code, new features can be easily integrated.

Limitations:
- All Mask operations are supported for Sculpt Vertex colors, but not exposed
by default as their support is still experimental.
- Dyntopo does not support any Face Set or Sculpt Vertex Colors. functionality
(they are not implemented in general for Dyntopo).
- Multires does not support any feature related to geodesic distances.
- Multires does not support vertex colors.
- Multires does not support recursions.
- In Multires, Face Sets snaping does not initialize all current enabled Face
Sets when toggling snapping.
- In Multires, Face Sets are created at base mesh level (works by this by
design, like any other tool).
- Unlike the previous mask_expand operator, this one does not blur the mask
by default after finishing Expand as that does not fit the new design.
The mask can still be blurred by using the mask filter manually.

Reviewed By: JacquesLucke

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

Commit Details:

Full Hash: 82e7032477283a9bf2747ee607da7c5ba3eb8986
Parent Commit: 7f36498
Lines Changed: +2802, -12

2 Added Paths:

/source/blender/editors/sculpt_paint/sculpt_expand.c (+2173, -0) (View)
/source/blender/editors/sculpt_paint/sculpt_geodesic.c (+360, -0) (View)

10 Modified Paths:

/release/scripts/modules/bl_keymap_utils/keymap_hierarchy.py (+1, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+43, -6) (Diff)
/source/blender/blenkernel/BKE_paint.h (+11, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+13, -0) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+10, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+10, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_boundary.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+171, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021