Cloth Buttons:
[blender.git] / release / ui / buttons_physic_cloth.py
index 1b114871453aac3897802ebe8058d5bd1a3b4e0e..efa796df5b029d6d2c711656671ad7b19fe5177e 100644 (file)
@@ -59,7 +59,7 @@ class Physic_PT_cloth_collision(PhysicButtonsPanel):
        def draw(self, context):
                layout = self.layout
                
-               md = self.cloth_modifier(context)
+               md = context.cloth
                cloth = md.collision_settings
                layout.active = cloth.enable_collision  
                
@@ -108,4 +108,4 @@ class Physic_PT_cloth_stiffness(PhysicButtonsPanel):
                
 bpy.types.register(Physic_PT_cloth)
 bpy.types.register(Physic_PT_cloth_collision)
-bpy.types.register(Physic_PT_cloth_stiffness)
+bpy.types.register(Physic_PT_cloth_stiffness)
\ No newline at end of file