diff --git a/src/osg/MatrixTransform.cpp b/src/osg/MatrixTransform.cpp index 3d41f709c..57e4af867 100644 --- a/src/osg/MatrixTransform.cpp +++ b/src/osg/MatrixTransform.cpp @@ -47,4 +47,6 @@ void MatrixTransform::AnimationPathCallback::operator()(Node* node, NodeVisitor* mt->setMatrix(matrix); } } + // must call any nested node callbacks and continue subgraph traversal. + traverse(node,nv); } diff --git a/src/osg/PositionAttitudeTransform.cpp b/src/osg/PositionAttitudeTransform.cpp index f82e38f12..e122b868f 100644 --- a/src/osg/PositionAttitudeTransform.cpp +++ b/src/osg/PositionAttitudeTransform.cpp @@ -58,4 +58,6 @@ void PositionAttitudeTransform::AnimationPathCallback::operator()(Node* node, No pat->setAttitude(cp._rotation); } } + // must call any nested node callbacks and continue subgraph traversal. + traverse(node,nv); }