diff --git a/SHADE_Engine/src/Animation/SHAnimatorComponent.cpp b/SHADE_Engine/src/Animation/SHAnimatorComponent.cpp index 0effbd92..7d4a2765 100644 --- a/SHADE_Engine/src/Animation/SHAnimatorComponent.cpp +++ b/SHADE_Engine/src/Animation/SHAnimatorComponent.cpp @@ -257,7 +257,7 @@ namespace SHADE return; // Play the clip - updatePoseWithClip(clip, currPlaybackTime); + updatePoseWithClip(clip, playbackTime); } void SHAnimatorComponent::updatePoseWithClip(Handle clip, float poseTime) { @@ -286,7 +286,6 @@ namespace SHADE // Apply transformations to this node const int BONE_MTX_IDX = rig->GetNodeIndex(node); - std::optional position; if (BONE_MTX_IDX >= 0) { boneMatrices[BONE_MTX_IDX] = node->OffsetMatrix * transformMatrix;