I found the problem. I had a reference pointer to my camera which prevented the camera from getting deleted by the removeSlave function. I didn't want to delete the camera, so I just did Code: cameraHUD->setViewport(NULL);
which worked. Then I could set the viewport again when I wanted the HUD to reappear. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32367#32367 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

