Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_toolbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py19
1 files changed, 2 insertions, 17 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index fc621c5b51e..b8d30f06193 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1310,8 +1310,6 @@ class _defs_sculpt:
exclude_filter = {}
# Use 'bpy.context' instead of 'context' since it can be None.
prefs = bpy.context.preferences
- if not prefs.experimental.use_sculpt_vertex_colors:
- exclude_filter = {'PAINT', 'SMEAR'}
return generate_from_enum_ex(
context,
@@ -2954,24 +2952,11 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
_defs_sculpt.trim_lasso,
),
_defs_sculpt.project_line,
+ _defs_sculpt.mask_by_color,
None,
_defs_sculpt.mesh_filter,
_defs_sculpt.cloth_filter,
- lambda context: (
- (_defs_sculpt.color_filter,)
- if context is None or (
- context.preferences.view.show_developer_ui and
- context.preferences.experimental.use_sculpt_vertex_colors)
- else ()
- ),
- None,
- lambda context: (
- (_defs_sculpt.mask_by_color,)
- if context is None or (
- context.preferences.view.show_developer_ui and
- context.preferences.experimental.use_sculpt_vertex_colors)
- else ()
- ),
+ _defs_sculpt.color_filter,
None,
_defs_sculpt.face_set_edit,
None,