diff options
Diffstat (limited to 'release/ui/buttons_physics_cloth.py')
-rw-r--r-- | release/ui/buttons_physics_cloth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/ui/buttons_physics_cloth.py b/release/ui/buttons_physics_cloth.py index 08911b0195c..dcfa1a331e5 100644 --- a/release/ui/buttons_physics_cloth.py +++ b/release/ui/buttons_physics_cloth.py @@ -8,7 +8,8 @@ class PhysicButtonsPanel(bpy.types.Panel): def poll(self, context): ob = context.object - return (ob and ob.type == 'MESH') + rd = context.scene.render_data + return (ob and ob.type == 'MESH') and (not rd.use_game_engine) class PHYSICS_PT_cloth(PhysicButtonsPanel): __idname__ = "PHYSICS_PT_cloth" |