diff options
author | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-02-13 02:05:16 +0300 |
---|---|---|
committer | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-02-13 02:05:16 +0300 |
commit | 2b847d1e6508b1b2da68f5e224305c62e0acf603 (patch) | |
tree | 14fb2e5e64ba08cf3289fbe825c3de43caa4a68a /release/scripts/startup | |
parent | 9e217ccb2e111e051b2835a518fba02ffe97bfe3 (diff) |
BGE: Remove translation and rotation constrains subpanel from dynamics type
The translation and rotation locks subpanel was not used by dynamic physics type to avoid inestability in the application of forces and/or torques. Therefore it is better to remove it from UI (for dynamics) to avoid misunderstandings.
Reviewers: moguri, dfelinto, campbellbarton
Reviewed By: campbellbarton
Subscribers: panzergame
Differential Revision: https://developer.blender.org/D1090
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 4cb6929f290..3daf938d6b9 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -100,6 +100,7 @@ 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() |