[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20598] branches/blender2.5/blender/ release/ui/buttons_physic_cloth.py: Cloth Buttons:

Thomas Dinges dingto at gmx.de
Wed Jun 3 11:06:33 CEST 2009


Revision: 20598
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20598
Author:   dingto
Date:     2009-06-03 11:06:32 +0200 (Wed, 03 Jun 2009)

Log Message:
-----------
Cloth Buttons:

Cloth Collision settings dindt't use the new button space context data.

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/buttons_physic_cloth.py

Modified: branches/blender2.5/blender/release/ui/buttons_physic_cloth.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_physic_cloth.py	2009-06-03 04:55:07 UTC (rev 20597)
+++ branches/blender2.5/blender/release/ui/buttons_physic_cloth.py	2009-06-03 09:06:32 UTC (rev 20598)
@@ -59,7 +59,7 @@
 	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 @@
 		
 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





More information about the Bf-blender-cvs mailing list