[Bf-blender-cvs] [aede740c8af] blender-v2.93-release: Fix T87816: Sculpt curve & line stroke hides dash settings
Philipp Oeser
noreply at git.blender.org
Tue Apr 27 21:04:59 CEST 2021
Commit: aede740c8afdd2d5f075ee5f7f3f63ae0d6ce723
Author: Philipp Oeser
Date: Tue Apr 27 11:35:44 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rBaede740c8afdd2d5f075ee5f7f3f63ae0d6ce723
Fix T87816: Sculpt curve & line stroke hides dash settings
These settings are used though for these strokes (see
'paint_stroke_use_dash'), should be visible in the UI as well.
This was correctly added when dashing was introduced in rB15f82278d5d4
btw., but then messed up in rBfb74dcc5d69d.
Maniphest Tasks: T87816
Differential Revision: https://developer.blender.org/D11096
===================================================================
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 6989139d447..22ef0fe77dd 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -356,7 +356,7 @@ class StrokePanel(BrushPanel):
col.operator("paintcurve.draw")
col.separator()
- if brush.use_space:
+ if brush.use_space or brush.use_line or brush.use_curve:
col.separator()
row = col.row(align=True)
col.prop(brush, "dash_ratio", text="Dash Ratio")
More information about the Bf-blender-cvs
mailing list