diff --git a/components/sceneutil/attach.cpp b/components/sceneutil/attach.cpp index 7cfb80b5c2..6208d01528 100644 --- a/components/sceneutil/attach.cpp +++ b/components/sceneutil/attach.cpp @@ -141,6 +141,8 @@ namespace SceneUtil osgAnimation::BoneMapVisitor boneMapVisitor; masterSkel->accept(boneMapVisitor); + // would be more efficient if we could attach the RigGeometry directly to the master skeleton, but currently not possible + // due to a difference in binding pose of the two skeletons AddCopyControllerVisitor visitor(boneMapVisitor.getBoneMap()); toAttach->accept(visitor);