Skip to content

Commit 0d2db34

Browse files
fix name mismatch
1 parent 9ae573a commit 0d2db34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ICE/System/src/AnimationSystem.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ void AnimationSystem::applyTransforms(Model::Node* node, const Eigen::Matrix4f&
136136
}
137137

138138
Eigen::Matrix4f globalTransform = parentTransform * nodeLocalTransform;
139-
node->globalTransform = globalTransform;
140-
node->localTransform = nodeLocalTransform;
139+
node->animatedTransform = nodeLocalTransform;
141140

142141
if (skeleton.boneMapping.contains(nodeName)) {
143142
int boneID = skeleton.boneMapping.at(nodeName);

0 commit comments

Comments
 (0)