diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 20:48:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 20:48:10 +0400 |
commit | 7e697846a51689fa9b2938cf68ae7ab1d95b2c2a (patch) | |
tree | fd594883eba25bbcc8dd5e8847b7716fb7489b0a /source/gameengine/Converter | |
parent | c26754fe9d71b243fb714b67dd27b618d818dcfd (diff) |
fix for BL_ArmatureConstraint::UpdateTarget(), was getting the pose from the target, not the subtarget.
Diffstat (limited to 'source/gameengine/Converter')
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureConstraint.cpp | 2 |
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(); } } } |