diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index fff4a063ef8..09e81115d6a 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -326,7 +326,7 @@ class GreasePencilAppearancePanel: ob = context.active_object - if ob.mode == 'GPENCIL_PAINT': + if ob.mode == 'PAINT_GPENCIL': brush = context.active_gpencil_brush gp_settings = brush.gpencil_settings @@ -347,7 +347,7 @@ class GreasePencilAppearancePanel: if brush.gpencil_tool == 'FILL': layout.prop(brush, "cursor_color_add", text="Color") - elif ob.mode in {'GPENCIL_SCULPT', 'GPENCIL_WEIGHT'}: + elif ob.mode in {'SCULPT_GPENCIL', 'WEIGHT_GPENCIL'}: settings = context.tool_settings.gpencil_sculpt brush = settings.brush tool = settings.sculpt_tool |