Skip to content

Commit

Permalink
WorldSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Aug 7, 2024
1 parent 2fe337b commit f596bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/FBX/FBXSDK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ struct NewFBXRigPose : INode {
transform = matTrans*matRoty*matRotx*matRotz;
transform = transforms[bi] * transform * transformsInv[bi];
}
if (bone_connects.count(bi)) {
if (bone_connects.count(bi) && WorldSpace == false) {
transform = cache[bone_connects[bi]] * transform;
}
cache[bi] = transform;
Expand Down

0 comments on commit f596bde

Please sign in to comment.