Fix #37106: Hair Length vanishes when Advanced is enabled
Seems to be just a missing case from r34687. Could not see a reason why hair length is to be hidden in advanced settings mode.
This commit is contained in:
parent
6d5024828b
commit
023b25b57e
|
@ -211,12 +211,12 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, Panel):
|
|||
row.active = part.distribution != 'GRID'
|
||||
row.prop(part, "count")
|
||||
|
||||
if part.type == 'HAIR' and not part.use_advanced_hair:
|
||||
if part.type == 'HAIR':
|
||||
row.prop(part, "hair_length")
|
||||
|
||||
row = layout.row()
|
||||
row.prop(part, "use_modifier_stack")
|
||||
return
|
||||
if not part.use_advanced_hair:
|
||||
row = layout.row()
|
||||
row.prop(part, "use_modifier_stack")
|
||||
return
|
||||
|
||||
if part.type != 'HAIR':
|
||||
split = layout.split()
|
||||
|
|
Loading…
Reference in New Issue