Skip to content

Commit b8651f7

Browse files
committed
.
1 parent a090b89 commit b8651f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

irr/src/AnimatedMeshSceneNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void AnimatedMeshSceneNode::render()
134134

135135
++PassCount;
136136

137-
if (auto *sm = dynamic_cast<SkinnedMesh *>(Mesh)) {
137+
if (auto *sm = dynamic_cast<SkinnedMesh *>(Mesh.get())) {
138138
sm->rigidAnimation(PerJoint.GlobalMatrices);
139139
if (sm->useSoftwareSkinning()) {
140140
// Perform software skinning; matrices have already been calculated in OnAnimate

irr/src/SkinnedMesh.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ bool SkinnedMesh::checkForKeys() const
294294
}
295295
}
296296
}
297+
return false;
297298
}
298299

299300
void SkinnedMesh::prepareForSkinning()

0 commit comments

Comments
 (0)