Fix sp mesh node after updateAbsolutePosition optimization

This commit is contained in:
Benau 2022-06-26 09:46:08 +08:00
parent f63ce6917b
commit 11fb04bd95

View File

@ -171,7 +171,7 @@ IMesh* SPMeshNode::getMeshForCurrentFrame()
} }
m_mesh->getSkinningMatrices(getFrameNr(), m_skinning_matrices.data(), m_mesh->getSkinningMatrices(getFrameNr(), m_skinning_matrices.data(),
m_saved_transition_frame, TransitingBlend); m_saved_transition_frame, TransitingBlend);
updateAbsolutePosition(); recursiveUpdateAbsolutePosition();
for (Armature& arm : m_mesh->getArmatures()) for (Armature& arm : m_mesh->getArmatures())
{ {