From ed930c48186d72b79ce6f1139f7db65759a40f42 Mon Sep 17 00:00:00 2001 From: Jens Ole Wund Date: Sat, 13 Mar 2010 22:53:03 +0000 Subject: enable basic soft body object options for soft body aware objects as there are lattices and curves since this is foreign terrain for me .. please check --- release/scripts/ui/properties_physics_softbody.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'release/scripts') diff --git a/release/scripts/ui/properties_physics_softbody.py b/release/scripts/ui/properties_physics_softbody.py index 8a59e087dc3..ed4c24b29b3 100644 --- a/release/scripts/ui/properties_physics_softbody.py +++ b/release/scripts/ui/properties_physics_softbody.py @@ -38,7 +38,10 @@ class PhysicButtonsPanel(bpy.types.Panel): def poll(self, context): ob = context.object rd = context.scene.render - return (ob and ob.type == 'MESH') and (not rd.use_game_engine) +# return (ob and ob.type == 'MESH') and (not rd.use_game_engine) +# i really hate touching things i do not understand completely .. but i think this should read (bjornmose) + return (ob and (ob.type == 'MESH' or ob.type == 'LATTICE'or ob.type == 'CURVE')) and (not rd.use_game_engine) + class PHYSICS_PT_softbody(PhysicButtonsPanel): -- cgit v1.2.3