[Bf-blender-cvs] [62b13c6] master: BGE: Fix: Activate collision mask/group in UI.
Porteries Tristan
noreply at git.blender.org
Sun May 3 19:16:58 CEST 2015
Commit: 62b13c6d070ac5be86c6ff64cb2b32066f64a0db
Author: Porteries Tristan
Date: Sun May 3 19:12:45 2015 +0200
Branches: master
https://developer.blender.org/rB62b13c6d070ac5be86c6ff64cb2b32066f64a0db
BGE: Fix: Activate collision mask/group in UI.
===================================================================
M release/scripts/startup/bl_ui/properties_game.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py
index 616c5fd..33b19eb 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()
More information about the Bf-blender-cvs
mailing list