diff options
author | Thomas Szepe <HG1_public@gmx.net> | 2015-05-14 16:23:42 +0300 |
---|---|---|
committer | Thomas Szepe <HG1_public@gmx.net> | 2015-05-14 16:23:42 +0300 |
commit | e7f2aec81bb752a5bc8f1474a4733a8d31fdd821 (patch) | |
tree | fff23d4c28319e58416407f29d3e3610b46f560d /release | |
parent | 1ccc417477f4b629557708ebdb456b374e8a33f2 (diff) |
BGE: Add 'Lock Translation' for dynamic objects
The XYZ translation lock was missing for dynamic object.
Reviewed By: panzergame
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |