diff options
-rw-r--r-- | release/ui/buttons_game.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/ui/buttons_game.py b/release/ui/buttons_game.py index 6d53b6a5327..fbf1ff82534 100644 --- a/release/ui/buttons_game.py +++ b/release/ui/buttons_game.py @@ -143,7 +143,8 @@ class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel): def poll(self, context): ob = context.active_object game = ob.game - return (game.physics_type in ('DYNAMIC', 'RIGID_BODY', 'SENSOR', 'SOFT_BODY', 'STATIC')) + rd = context.scene.render_data + return (game.physics_type in ('DYNAMIC', 'RIGID_BODY', 'SENSOR', 'SOFT_BODY', 'STATIC')) and (rd.engine == 'BLENDER_GAME') def draw_header(self, context): layout = self.layout |