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:
authorPablo Dobarro <pablodp606@gmail.com>2020-06-30 04:25:49 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-06-30 19:50:13 +0300
commit21c2a64e79fe7cc2430a8a434482e4ef1310dd55 (patch)
tree92badee5a28b71d9e4e6e57a67cbdc8fe1e8fea5 /release
parent0949140d36aac3a3083787767209ad239e964e73 (diff)
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
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py2
1 files changed, 2 insertions, 0 deletions
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(