Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2009-06-03 13:06:32 +0400
committerThomas Dinges <blender@dingto.org>2009-06-03 13:06:32 +0400
commit9b869755867bc47cf48ad2622503a57832745fbf (patch)
tree3329cdc573078810aa5a2959130e59e65da12aae /release
parenta3c0730f990fda65c305736e45925ced9abe8bcc (diff)
Cloth Buttons:
Cloth Collision settings dindt't use the new button space context data.
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_physic_cloth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ui/buttons_physic_cloth.py b/release/ui/buttons_physic_cloth.py
index 1b114871453..efa796df5b0 100644
--- a/release/ui/buttons_physic_cloth.py
+++ b/release/ui/buttons_physic_cloth.py
@@ -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