From e7f2aec81bb752a5bc8f1474a4733a8d31fdd821 Mon Sep 17 00:00:00 2001 From: Thomas Szepe Date: Thu, 14 May 2015 15:23:42 +0200 Subject: BGE: Add 'Lock Translation' for dynamic objects The XYZ translation lock was missing for dynamic object. Reviewed By: panzergame --- release/scripts/startup/bl_ui/properties_game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 33b19eb0752..6fb172bf1e3 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -100,7 +100,6 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel): sub.prop(game, "damping", text="Translation", slider=True) sub.prop(game, "rotation_damping", text="Rotation", slider=True) - if physics_type == 'RIGID_BODY': layout.separator() split = layout.split() @@ -111,6 +110,7 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel): col.prop(game, "lock_location_y", text="Y") col.prop(game, "lock_location_z", text="Z") + if physics_type == 'RIGID_BODY': col = split.column() col.label(text="Lock Rotation:") col.prop(game, "lock_rotation_x", text="X") -- cgit v1.2.3