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

@ -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)