ok, i found something interesting: when i remove the line:

osg::ref_ptr<osg::GraphicsContext::Traits> traits = new 
osg::GraphicsContext::Traits;

and all his refences, apears the next message

Unhandled exception at 0x7c812afb in VGM.exe: Microsoft C++ exception: 
std::bad_alloc at memory location 0x0012fd24..

in the line:

osg::ref_ptr<InputHandler> myIH = new InputHandler();

i beginning to suspect that the problem is the ref_ptr, but i dont know how to 
fix it

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to