Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Bernal <jbernalmartinez@gmail.com>2015-02-13 02:05:16 +0300
committerJorge Bernal <jbernalmartinez@gmail.com>2015-02-13 02:05:16 +0300
commit2b847d1e6508b1b2da68f5e224305c62e0acf603 (patch)
tree14fb2e5e64ba08cf3289fbe825c3de43caa4a68a /release/scripts
parent9e217ccb2e111e051b2835a518fba02ffe97bfe3 (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')
-rw-r--r--release/scripts/startup/bl_ui/properties_game.py1
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()