Changeset 1039 for branches/Carsten_PtrWork2/Tutorials/10loading.cpp
- Timestamp:
- 01/16/08 16:07:40 (1 year ago)
- Files:
-
- branches/Carsten_PtrWork2/Tutorials/10loading.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Tutorials/10loading.cpp
r835 r1039 91 91 92 92 // the connection between GLUT and OpenSG 93 GLUTWindow Ptr gwin= GLUTWindow::create();93 GLUTWindowGlobalRefPtr gwin = GLUTWindow::create(); 94 94 gwin->setGlutId(winid); 95 95 gwin->init(); … … 97 97 // load the scene 98 98 99 Node Ptr scene;99 NodeGlobalRefPtr scene; 100 100 101 101 if(argc < 2) … … 122 122 All scene file loading is handled via the SceneFileHandler. 123 123 */ 124 scene = SceneFileHandler::the()->read(argv[1] );124 scene = SceneFileHandler::the()->read(argv[1], NULL); 125 125 } 126 126 127 127 128 128 NodePtr found; 129 130 129 NamedNodeFinder f; 131 130 … … 219 218 case 27: 220 219 { 220 delete mgr; 221 221 222 OSG::osgExit(); 222 223 exit(0);
