Fix T43408: Putting steps and keys properties into an inactive sublayout
based on the interpolate property does not make any sense at all. These settings are still totally confusing - this code has not been touched since 2009 at least! Go figure ...
This commit is contained in:
parent
59e2f919ac
commit
ddc0d28031
Notes:
blender-bot
2023-02-14 09:34:22 +01:00
Referenced by issue #43408, Particle hair segments error
|
@ -881,10 +881,8 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel):
|
|||
col.prop(brush, "count")
|
||||
col = layout.column()
|
||||
col.prop(settings, "use_default_interpolate")
|
||||
sub = col.column(align=True)
|
||||
sub.active = settings.use_default_interpolate
|
||||
sub.prop(brush, "steps", slider=True)
|
||||
sub.prop(settings, "default_key_count", slider=True)
|
||||
col.prop(brush, "steps", slider=True)
|
||||
col.prop(settings, "default_key_count", slider=True)
|
||||
elif tool == 'LENGTH':
|
||||
layout.prop(brush, "length_mode", expand=True)
|
||||
elif tool == 'PUFF':
|
||||
|
|
Loading…
Reference in New Issue