From 62b13c6d070ac5be86c6ff64cb2b32066f64a0db Mon Sep 17 00:00:00 2001 From: Porteries Tristan Date: Sun, 3 May 2015 19:12:45 +0200 Subject: [PATCH] BGE: Fix: Activate collision mask/group in UI. --- release/scripts/startup/bl_ui/properties_game.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 616c5fdb854..33b19eb0752 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -213,11 +213,13 @@ class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel, Panel): layout = self.layout game = context.active_object.game - layout.active = game.use_collision_bounds + split = layout.split() + split.active = game.use_collision_bounds - layout.prop(game, "collision_bounds_type", text="Bounds") + col = split.column() + col.prop(game, "collision_bounds_type", text="Bounds") - row = layout.row() + row = col.row() row.prop(game, "collision_margin", text="Margin", slider=True) sub = row.row()