diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-04-02 17:56:05 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-04-02 17:56:44 +0300 |
commit | 1f745e2c72b24cfdbd466e8558d8b66536320acd (patch) | |
tree | 79bb0906bea3633e95f82cc7fab7d178a7fe78f0 /release | |
parent | e276558a50f06c6ec5d6b36b138ad5777dd05c0a (diff) |
Sculpt: Add global automasking options for all brushes
This adds the automasking options to the Sculpt Tool options in a way
that they affect all brushes. This is more convenient when working with
some of these options while switching brushes as they don't need to be
enabled/disabled per brush.
An automasking option is enabled if it is enabled in the brush or in the
sculpt options.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D7304
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 27159b6e609..351b72f79fb 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -905,6 +905,13 @@ class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel): col = flow.column() col.prop(sculpt, "use_deform_only") + col = flow.column() + col.separator() + col.prop(sculpt, "use_automasking_topology") + col.prop(sculpt, "use_automasking_face_sets") + col.prop(sculpt, "use_automasking_boundary_edges") + col.prop(sculpt, "use_automasking_boundary_face_sets") + class VIEW3D_PT_sculpt_options_gravity(Panel, View3DPaintPanel): bl_context = ".sculpt_mode" # dot on purpose (access from topbar) |