Fix T40761: Bone constraints broken in the BGE

Extra bonus: calculating bone constraints now happens parallel!
This commit is contained in:
Mitchell Stokes 2014-06-30 20:59:15 -07:00
parent 2e840e56cf
commit c92c3ef611
Notes: blender-bot 2023-12-08 16:39:08 +01:00
Referenced by issue #40761, Run armature appears broken or changed.
1 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,10 @@ void BL_ArmatureObject::LoadConstraints(KX_BlenderSceneConverter* converter)
}
}
}
// If we have constraints, make sure we get treated as an "animated" object
if (m_constraintNumber > 0)
GetActionManager();
}
BL_ArmatureConstraint* BL_ArmatureObject::GetConstraint(const char* posechannel, const char* constraintname)