osg::ref_ptr<osg::Group> root;
root->addChild(node);          // forget to new before using root
osg::Group *subgraph = root->get(); // should be root.get()
camera->addChild(subgraph);

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63735#63735





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to