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:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-12-13 12:53:30 +0300
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-12-13 12:53:30 +0300
commit551806bce89c142ac731651637dc9f240d9c2302 (patch)
treebcdcaf7823822dcaf4846a54579c2a0879968cd1 /source/gameengine/Physics/Sumo
parent5dc6d22e460217893ae1dbce8d0a1ad31d45844e (diff)
Set the physics scale on added objects. (Fix bug #1837)
Diffstat (limited to 'source/gameengine/Physics/Sumo')
-rw-r--r--source/gameengine/Physics/Sumo/SumoPhysicsController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp b/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp
index 5301e125ce1..46eeef264de 100644
--- a/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp
+++ b/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp
@@ -174,7 +174,8 @@ void SumoPhysicsController::setPosition(float posX,float posY,float posZ)
void SumoPhysicsController::setScaling(float scaleX,float scaleY,float scaleZ)
{
- m_sumoObj->setScaling(MT_Vector3(scaleX,scaleY,scaleZ));
+ if (!m_bDyna)
+ m_sumoObj->setScaling(MT_Vector3(scaleX,scaleY,scaleZ));
}
// physics methods