diff options
author | William Reynish <billreynish> | 2019-01-02 02:46:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 05:06:47 +0300 |
commit | 939c751faa8eaaf65872aeb67216fd4e6f6f1874 (patch) | |
tree | 8519391190e5891f52c02995d173657eef615e9d /release | |
parent | 4dd0a90f421387e6362315c294033f59dc94c0b6 (diff) |
UI: add painting blend mode to top-bar
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 6f80b4394b6..50dc094bccf 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -259,6 +259,7 @@ class _draw_left_context_mode: UnifiedPaintPanel.prop_unified_color(layout, context, brush, "color", text="") UnifiedPaintPanel.prop_unified_size(layout, context, brush, "size", slider=True, text="Radius") UnifiedPaintPanel.prop_unified_strength(layout, context, brush, "strength", slider=True, text="Strength") + layout.prop(brush, "blend", text="") @staticmethod def PAINT_VERTEX(context, layout, tool): @@ -277,6 +278,7 @@ class _draw_left_context_mode: UnifiedPaintPanel.prop_unified_color(layout, context, brush, "color", text="") UnifiedPaintPanel.prop_unified_size(layout, context, brush, "size", slider=True, text="Radius") UnifiedPaintPanel.prop_unified_strength(layout, context, brush, "strength", slider=True, text="Strength") + layout.prop(brush, "blend", text="") @staticmethod def PAINT_WEIGHT(context, layout, tool): @@ -294,6 +296,7 @@ class _draw_left_context_mode: UnifiedPaintPanel.prop_unified_weight(layout, context, brush, "weight", slider=True, text="Weight") UnifiedPaintPanel.prop_unified_size(layout, context, brush, "size", slider=True, text="Radius") UnifiedPaintPanel.prop_unified_strength(layout, context, brush, "strength", slider=True, text="Strength") + layout.prop(brush, "blend", text="") @staticmethod def PAINT_GPENCIL(context, layout, tool): @@ -494,6 +497,7 @@ class _draw_left_context_mode: UnifiedPaintPanel.prop_unified_color(layout, context, brush, "color", text="") UnifiedPaintPanel.prop_unified_size(layout, context, brush, "size", slider=True, text="Radius") UnifiedPaintPanel.prop_unified_strength(layout, context, brush, "strength", slider=True, text="Strength") + layout.prop(brush, "blend", text="") class TOPBAR_PT_gpencil_layers(Panel): |