[Bf-blender-cvs] [8bd0ed6bd2f] master: Curves: show direction in panel for Grow / Shrink brush settings

Jacques Lucke noreply at git.blender.org
Wed May 4 15:38:33 CEST 2022


Commit: 8bd0ed6bd2f36f4620f9dc431da55220a7c313fd
Author: Jacques Lucke
Date:   Wed May 4 15:37:15 2022 +0200
Branches: master
https://developer.blender.org/rB8bd0ed6bd2f36f4620f9dc431da55220a7c313fd

Curves: show direction in panel for Grow / Shrink brush settings

===================================================================

M	release/scripts/startup/bl_ui/properties_paint_common.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 9a116aa1717..aab810db446 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -827,6 +827,7 @@ def brush_shared_settings(layout, context, brush, popover=False):
     if mode == 'SCULPT_CURVES':
         size = True
         strength = True
+        direction = brush.curves_sculpt_tool == "GROW_SHRINK"
 
     ### Draw settings. ###
     ups = context.scene.tool_settings.unified_paint_settings



More information about the Bf-blender-cvs mailing list