diff options
author | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-05-03 20:12:45 +0300 |
---|---|---|
committer | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-05-03 20:16:27 +0300 |
commit | 62b13c6d070ac5be86c6ff64cb2b32066f64a0db (patch) | |
tree | c6182c38f30b94d4387ba49a824fe25cb6478a53 /release/scripts/startup | |
parent | dbee63457273f09d9977f0bb0235b4c7b53c8eb0 (diff) |
BGE: Fix: Activate collision mask/group in UI.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 8 |
1 files 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() |