[Bf-blender-cvs] [3915e57a478] temp-pbvh-split: Cleanup: Use single quotes for Python enum string

Hans Goudey noreply at git.blender.org
Fri Jun 3 01:16:30 CEST 2022


Commit: 3915e57a47832f5b7fcd4e18e772210785be51f2
Author: Hans Goudey
Date:   Wed May 11 12:12:11 2022 +0200
Branches: temp-pbvh-split
https://developer.blender.org/rB3915e57a47832f5b7fcd4e18e772210785be51f2

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