[Bf-blender-cvs] [b765ea52af0] master: Cleanup: Use single quotes for Python enum string

Hans Goudey noreply at git.blender.org
Wed May 11 12:12:22 CEST 2022


Commit: b765ea52af025b392604538058c135440bd354c2
Author: Hans Goudey
Date:   Wed May 11 12:12:11 2022 +0200
Branches: master
https://developer.blender.org/rBb765ea52af025b392604538058c135440bd354c2

Cleanup: Use single quotes for Python enum string

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

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 649e09fdfaa..e3decd7fcdd 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -840,7 +840,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"
+        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