From 2fa396a211407260945ab3d730ecd1f154c2602d Mon Sep 17 00:00:00 2001 From: zhouhang95 <765229842@qq.com> Date: Fri, 8 Nov 2024 18:23:10 +0800 Subject: [PATCH] fix-GetSkeletonFromBindPose --- projects/FBX/FBXSDK.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/FBX/FBXSDK.cpp b/projects/FBX/FBXSDK.cpp index 47f14aa9b9..f9208dcfe2 100644 --- a/projects/FBX/FBXSDK.cpp +++ b/projects/FBX/FBXSDK.cpp @@ -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 &bone_names, std::vector &transforms, std::map &parent_mapping) {