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:
authorCampbell Barton <ideasman42@gmail.com>2013-08-04 20:48:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-04 20:48:10 +0400
commit7e697846a51689fa9b2938cf68ae7ab1d95b2c2a (patch)
treefd594883eba25bbcc8dd5e8847b7716fb7489b0a /source/gameengine
parentc26754fe9d71b243fb714b67dd27b618d818dcfd (diff)
fix for BL_ArmatureConstraint::UpdateTarget(), was getting the pose from the target, not the subtarget.
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Converter/BL_ArmatureConstraint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureConstraint.cpp b/source/gameengine/Converter/BL_ArmatureConstraint.cpp
index 131fdaed3ec..1e6e3557aa4 100644
--- a/source/gameengine/Converter/BL_ArmatureConstraint.cpp
+++ b/source/gameengine/Converter/BL_ArmatureConstraint.cpp
@@ -189,7 +189,7 @@ void BL_ArmatureConstraint::UpdateTarget()
if (m_blendsubtarget && m_subtarget) {
m_subtarget->UpdateBlenderObjectMatrix(m_blendsubtarget);
if (m_subpose && m_subtarget->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE)
- m_blendsubtarget->pose = ((BL_ArmatureObject*)m_target)->GetOrigPose();
+ m_blendsubtarget->pose = ((BL_ArmatureObject*)m_subtarget)->GetOrigPose();
}
}
}