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:
Sergey Sharybin 2013-10-17 10:42:47 +00:00
parent 6d5024828b
commit 023b25b57e
1 changed files with 5 additions and 5 deletions

View File

@ -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()