I have a single viewer , and two different root nodes ... When the program
loads i initialize the viewer with the first root . Then on a keypress i
change my viewer scene data to second root . And i also have a kepress by
which the viewer should go back to earlier root  ( i,e first root ) . The
first keypress is working .. but the second key press is giving a
segmentation fault ...On debuggin i found that the  viewer.setSceneData(root1)
is giving  a seg fault.

Any idea why this is happening ??
Cant we change hte sceneData in between ?
-- 
----------------------------------------------
Maruti Borker
IIIT Hyderabad
Website:- http://students.iiit.ac.in/~maruti
Blog:- http://marutiborker.wordpress.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to