* Code cleanup.
This commit is contained in:
Thomas Dinges
2011-11-20 00:32:39 +00:00
parent f515e430bc
commit 01b0cc7f21
5 changed files with 11 additions and 22 deletions

View File

@@ -262,10 +262,6 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel):
return psys.settings.type == 'HAIR' and (engine in cls.COMPAT_ENGINES)
def draw_header(self, context):
#cloth = context.cloth.collision_settings
#self.layout.active = cloth_panel_enabled(context.cloth)
#self.layout.prop(cloth, "use_collision", text="")
psys = context.particle_system
self.layout.prop(psys, "use_hair_dynamics", text="")