mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
fix failing assert
This commit is contained in:
parent
63b9979ff7
commit
78f2ccc6db
1 changed files with 2 additions and 2 deletions
|
@ -584,8 +584,8 @@ void CAnimatedMeshSceneNode::animateJoints()
|
|||
checkJoints();
|
||||
|
||||
SkinnedMesh *skinnedMesh = static_cast<SkinnedMesh *>(Mesh);
|
||||
|
||||
updateJointSceneNodes(skinnedMesh->animateMesh(getFrameNr()));
|
||||
if (!skinnedMesh->isStatic())
|
||||
updateJointSceneNodes(skinnedMesh->animateMesh(getFrameNr()));
|
||||
|
||||
//-----------------------------------------
|
||||
// Transition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue