[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58903] trunk/blender/source/gameengine/ Converter/BL_ArmatureConstraint.cpp: fix for BL_ArmatureConstraint:: UpdateTarget(), was getting the pose from the target, not the subtarget.
Campbell Barton
ideasman42 at gmail.com
Sun Aug 4 18:48:11 CEST 2013
Revision: 58903
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58903
Author: campbellbarton
Date: 2013-08-04 16:48:10 +0000 (Sun, 04 Aug 2013)
Log Message:
-----------
fix for BL_ArmatureConstraint::UpdateTarget(), was getting the pose from the target, not the subtarget.
Modified Paths:
--------------
trunk/blender/source/gameengine/Converter/BL_ArmatureConstraint.cpp
Modified: trunk/blender/source/gameengine/Converter/BL_ArmatureConstraint.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_ArmatureConstraint.cpp 2013-08-04 14:04:31 UTC (rev 58902)
+++ trunk/blender/source/gameengine/Converter/BL_ArmatureConstraint.cpp 2013-08-04 16:48:10 UTC (rev 58903)
@@ -189,7 +189,7 @@
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();
}
}
}
More information about the Bf-blender-cvs
mailing list