diff options
author | Thomas Dinges <blender@dingto.org> | 2009-11-19 00:57:13 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-11-19 00:57:13 +0300 |
commit | 5ed3081e5cbf04a3b0e428a2e65c6d9d019ad275 (patch) | |
tree | e8c162027765e5f5a2454ccacdde5968b4f00dc1 /release/scripts/ui/properties_physics_cloth.py | |
parent | 0c8b41e464997a1438ef068e01e9119c1b941a7c (diff) |
2.5 Single Column Layout:
* Added code to enable single column layout for general physic panels.
Note: Force Field Falloff panel has some issues with single layout.
Diffstat (limited to 'release/scripts/ui/properties_physics_cloth.py')
-rw-r--r-- | release/scripts/ui/properties_physics_cloth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_physics_cloth.py b/release/scripts/ui/properties_physics_cloth.py index 4d2f8aef69b..770e5b6b2b6 100644 --- a/release/scripts/ui/properties_physics_cloth.py +++ b/release/scripts/ui/properties_physics_cloth.py @@ -119,7 +119,7 @@ class PHYSICS_PT_cloth_cache(PhysicButtonsPanel): def draw(self, context): md = context.cloth - point_cache_ui(self, md.point_cache, cloth_panel_enabled(md), 0, 0) + point_cache_ui(self, context, md.point_cache, cloth_panel_enabled(md), 0, 0) class PHYSICS_PT_cloth_collision(PhysicButtonsPanel): @@ -204,7 +204,7 @@ class PHYSICS_PT_cloth_field_weights(PhysicButtonsPanel): def draw(self, context): cloth = context.cloth.settings - effector_weights_ui(self, cloth.effector_weights) + effector_weights_ui(self, context, cloth.effector_weights) bpy.types.register(PHYSICS_PT_cloth) bpy.types.register(PHYSICS_PT_cloth_cache) |