We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a090b89 commit b8651f7Copy full SHA for b8651f7
irr/src/AnimatedMeshSceneNode.cpp
@@ -134,7 +134,7 @@ void AnimatedMeshSceneNode::render()
134
135
++PassCount;
136
137
- if (auto *sm = dynamic_cast<SkinnedMesh *>(Mesh)) {
+ if (auto *sm = dynamic_cast<SkinnedMesh *>(Mesh.get())) {
138
sm->rigidAnimation(PerJoint.GlobalMatrices);
139
if (sm->useSoftwareSkinning()) {
140
// Perform software skinning; matrices have already been calculated in OnAnimate
irr/src/SkinnedMesh.cpp
@@ -294,6 +294,7 @@ bool SkinnedMesh::checkForKeys() const
294
}
295
296
297
+ return false;
298
299
300
void SkinnedMesh::prepareForSkinning()
0 commit comments