Skip to content

Commit

Permalink
Merge pull request #2055 from zenustech/fix-GetSkeletonFromBindPose
Browse files Browse the repository at this point in the history
fix-GetSkeletonFromBindPose
  • Loading branch information
zhxx1987 authored Nov 8, 2024
2 parents e61e176 + 2fa396a commit 0b3785d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/FBX/FBXSDK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ static int GetSkeletonFromBindPose(FbxManager* lSdkManager, FbxScene* lScene, st
prim->userData().set2(zeno::format("boneName_{}", i), bone_names[i]);
}
}
return pose_count;
}

static void TraverseNodesToGetSkeleton(FbxNode* pNode, std::vector<std::string> &bone_names, std::vector<FbxMatrix> &transforms, std::map<std::string, std::string> &parent_mapping) {
Expand Down

0 comments on commit 0b3785d

Please sign in to comment.