From 5162e9c09efbc5158dea0f6750b52f96a3a1f8bc Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 29 Mar 2015 18:44:46 +0200 Subject: [PATCH] Add comment --- components/sceneutil/attach.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);