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-11-19 00:57:13 +0300
committerThomas Dinges <blender@dingto.org>2009-11-19 00:57:13 +0300
commit5ed3081e5cbf04a3b0e428a2e65c6d9d019ad275 (patch)
treee8c162027765e5f5a2454ccacdde5968b4f00dc1 /release/scripts/ui/properties_physics_softbody.py
parent0c8b41e464997a1438ef068e01e9119c1b941a7c (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_softbody.py')
-rw-r--r--release/scripts/ui/properties_physics_softbody.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_physics_softbody.py b/release/scripts/ui/properties_physics_softbody.py
index e467cf4eb71..8d27989a7d8 100644
--- a/release/scripts/ui/properties_physics_softbody.py
+++ b/release/scripts/ui/properties_physics_softbody.py
@@ -91,7 +91,7 @@ class PHYSICS_PT_softbody_cache(PhysicButtonsPanel):
def draw(self, context):
md = context.soft_body
- point_cache_ui(self, md.point_cache, softbody_panel_enabled(md), 0, 0)
+ point_cache_ui(self, context, md.point_cache, softbody_panel_enabled(md), 0, 0)
class PHYSICS_PT_softbody_goal(PhysicButtonsPanel):
@@ -261,7 +261,7 @@ class PHYSICS_PT_softbody_field_weights(PhysicButtonsPanel):
def draw(self, context):
md = context.soft_body
softbody = md.settings
- effector_weights_ui(self, softbody.effector_weights)
+ effector_weights_ui(self, context, softbody.effector_weights)
bpy.types.register(PHYSICS_PT_softbody)
bpy.types.register(PHYSICS_PT_softbody_cache)