[osg-users] NodeCallback does not traverse children

Yura Ivanov dev3d at protonmail.com
Mon Apr 10 01:43:50 PDT 2017


I have created NodeCallback like in example osggeometry to update MatrixTransform of all nodes in a group. 
I applied it only for group: group.setUpdateCallback(mycallback);
In operator() of mycallback i am calling traverse(node,nv) but it works only for group, not for it children.
What i am doing wrong? Do I need to call setUpdateCallback for every child?

Thank you!


Read this topic online here:

More information about the osg-users mailing list