Removed unused local variable in SHAnimatorComponent

This commit is contained in:
Kah Wei 2023-02-03 16:40:34 +08:00
parent 5abcf49271
commit da3b54a86b
1 changed files with 0 additions and 1 deletions

View File

@ -162,7 +162,6 @@ namespace SHADE
// Apply transformations to this node
const int BONE_MTX_IDX = rig->GetNodeIndex(node);
std::optional<SHVec3> position;
if (BONE_MTX_IDX >= 0)
{
boneMatrices[BONE_MTX_IDX] = node->OffsetMatrix * transformMatrix;