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
This commit is contained in:
parent
8a786fad01
commit
9cd9b35779
Notes:
blender-bot
2023-05-29 09:17:12 +02:00
Referenced by issue #87816, Sculpt, Brush in curve mode do not have exposed dash setting, despite it use em
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue