diff --git a/cocos/3d/CCBundle3D.cpp b/cocos/3d/CCBundle3D.cpp index fdee696ddc..25d629b51a 100644 --- a/cocos/3d/CCBundle3D.cpp +++ b/cocos/3d/CCBundle3D.cpp @@ -399,6 +399,13 @@ bool Bundle3D::loadNodes(NodeDatas& nodedatas) } } nodedatas.skeleton.push_back(nodeDatas[skinData.rootBoneIndex]); + auto modelnode = new ModelNodeData(); + modelnode->matrialId = ""; + modelnode->subMeshId = ""; + modelnode->id = ""; + modelnode->bones = skinData.skinBoneNames; + modelnode->invBindPose = skinData.inverseBindPoseMatrices; + nodedatas.nodes.push_back(modelnode); } else {