diff options
author | Daniel Salazar <zanqdo@gmail.com> | 2010-02-10 22:14:49 +0300 |
---|---|---|
committer | Daniel Salazar <zanqdo@gmail.com> | 2010-02-10 22:14:49 +0300 |
commit | 111036dbc6d1f5782f38224d1f47a49a6f2bf239 (patch) | |
tree | 7aa2e42b7333496a1d01abfe477af0a060f9ed63 /release | |
parent | 359676872171e86ba2c760fc404161636edb4663 (diff) |
Hide particle angular velocity ammount if velocity mode is 'None'
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_particle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py index 14278ea197c..3591df7fc63 100644 --- a/release/scripts/ui/properties_particle.py +++ b/release/scripts/ui/properties_particle.py @@ -348,7 +348,8 @@ class PARTICLE_PT_rotation(ParticleButtonsPanel): 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): |