forked from bartvdbraak/blender
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:
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):
|
||||
|
Loading…
Reference in New Issue
Block a user