[osg-users] NodeCallback does not traverse children
Yura Ivanov
dev3d at protonmail.com
Mon Apr 10 01:43:50 PDT 2017
Hi,
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!
Cheers,
Yura
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70725#70725
More information about the osg-users
mailing list