diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-24 17:35:07 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-24 17:36:08 +0300 |
commit | 809be0099ea161eda0f149411651bd9fe84e1b6a (patch) | |
tree | 8502a075c52f977fe17d8c8df91371ef078f7cea /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | 29602bbd629857f0f0a3968ba6f1d7f75128a493 (diff) |
GP: Some changes in Appearance panel
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 | 15 |
1 files changed, 12 insertions, 3 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 760c5f8e259..0165ec1a340 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -346,9 +346,18 @@ class GreasePencilAppearancePanel: col = layout.column(align=True) col.prop(brush, "use_cursor", text="Show Brush") - col.row().prop(brush, "cursor_color_add", text="Add") - if tool in {'THICKNESS', 'STRENGTH', 'PINCH', 'TWIST'}: - col.row().prop(brush, "cursor_color_sub", text="Subtract") + + if tool in {'THICKNESS', 'STRENGTH'}: + col.prop(brush, "cursor_color_add", text="Add") + col.prop(brush, "cursor_color_sub", text="Substract") + elif tool == 'PINCH': + col.prop(brush, "cursor_color_add", text="Pinch") + col.prop(brush, "cursor_color_sub", text="Inflate") + elif settings.tool == 'TWIST': + col.prop(brush, "cursor_color_add", text="CCW") + col.prop(brush, "cursor_color_sub", text="CW") + else: + col.prop(brush, "cursor_color_add", text="") class GPENCIL_MT_pie_tool_palette(Menu): |