From d986b1a48b3005607af69865aade5c3cfa36333e Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 11 Mar 2016 19:28:53 +0100 Subject: [PATCH] Add comment --- components/sceneutil/riggeometry.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/sceneutil/riggeometry.hpp b/components/sceneutil/riggeometry.hpp index 301d206fa0..90d4c1156b 100644 --- a/components/sceneutil/riggeometry.hpp +++ b/components/sceneutil/riggeometry.hpp @@ -13,6 +13,9 @@ namespace SceneUtil /// @brief Mesh skinning implementation. /// @note A RigGeometry may be attached directly to a Skeleton, or somewhere below a Skeleton. /// Note though that the RigGeometry ignores any transforms below the Skeleton, so the attachment point is not that important. + /// @note To avoid race conditions, the rig geometry needs to be double buffered. This can be done + /// using a FrameSwitch node that has two RigGeometry children. In the future we may want to consider implementing + /// the double buffering inside RigGeometry. class RigGeometry : public osg::Geometry { public: