From 21c2a64e79fe7cc2430a8a434482e4ef1310dd55 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Tue, 30 Jun 2020 03:25:49 +0200 Subject: Sculpt: Color filter fill mode This implements a fill mode in the Color Filter tool, which fills the entire mesh with a specific color. As this functionality is part of the color filter, this allows to control the blending of the fill color with the filter strength. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8158 --- release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index ebe98ca511f..54e8fd52ec7 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -1263,6 +1263,8 @@ class _defs_sculpt: def draw_settings(_context, layout, tool): props = tool.operator_properties("sculpt.color_filter") layout.prop(props, "type", expand=False) + if (props.type == "FILL"): + layout.prop(props, "fill_color", expand=False) layout.prop(props, "strength") return dict( -- cgit v1.2.3