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
This commit is contained in:
Jens Ole Wund 2010-03-13 22:53:03 +00:00
parent c56f04d349
commit ed930c4818

@ -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):