Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-12-23 19:28:21 +0300
committerWilliam Reynish <billrey@me.com>2019-12-23 19:28:47 +0300
commit2ff996040d0245b6e558016314545177c8c85e9a (patch)
treeb7cca09e2035b80a0d40f8218d855810401616fb /release/scripts/startup/bl_ui/space_image.py
parent50b478e3282bc19b243d4c0d94450cb7be25ff05 (diff)
Fix T72555: Brush Radius/Size and Strength not linked on header tools settings when Unified Brush is active
Patch by Demeter Dzadik Differential Revision: https://developer.blender.org/D6473
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index c178476df62..c6f490f9d26 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -589,14 +589,15 @@ class _draw_tool_settings_context_mode:
uv_sculpt = tool_settings.uv_sculpt
brush = uv_sculpt.brush
if brush:
- # NOTE: We don't draw UnifiedPaintSettings in the header to reduce clutter. D5928#136281
UnifiedPaintPanel.prop_unified(
layout,
context,
brush,
"size",
pressure_name="use_pressure_size",
+ unified_name="use_unified_size",
slider=True,
+ header=True
)
UnifiedPaintPanel.prop_unified(
layout,
@@ -604,7 +605,9 @@ class _draw_tool_settings_context_mode:
brush,
"strength",
pressure_name="use_pressure_strength",
+ unified_name="use_unified_strength",
slider=True,
+ header=True
)
@staticmethod