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:
authorPhilipp Oeser <info@graphics-engineer.com>2021-04-27 12:35:44 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-04-27 22:20:01 +0300
commit9cd9b3577928655beb55fa2f2181c3bcbb164000 (patch)
tree0aecb1a57128384f0160009fdc14a05f701f4c9a /release/scripts/startup/bl_ui/properties_paint_common.py
parent8a786fad0165e9bac1e3260163111947bad7d821 (diff)
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
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py2
1 files changed, 1 insertions, 1 deletions
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")