Hide particle angular velocity ammount if velocity mode is 'None'

This commit is contained in:
Daniel Salazar 2010-02-10 19:14:49 +00:00
parent 3596768721
commit 111036dbc6

@ -348,7 +348,8 @@ class PARTICLE_PT_rotation(ParticleButtonsPanel):
sub = split.column() sub = split.column()
sub.prop(part, "angular_velocity_factor", text="") if part.angular_velocity_mode != 'NONE':
sub.prop(part, "angular_velocity_factor", text="")
class PARTICLE_PT_physics(ParticleButtonsPanel): class PARTICLE_PT_physics(ParticleButtonsPanel):