Changeset 70 for osgVisual/src/core
- Timestamp:
- Jul 20, 2010, 9:24:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/core/visual_core.cpp
r69 r70 82 82 #else 83 83 OSG_NOTIFY( osg::ALWAYS ) << "Using Sky without distortion." << std::endl; 84 sky->init( rootNode);84 sky->init(NULL, rootNode); 85 85 #endif 86 86 #endif … … 111 111 // next frame please.... 112 112 viewer->advance(); 113 std::cout << "New frame----------------------------" << std::endl; 113 114 114 115 /*double hat, hot, lat, lon, height; … … 117 118 OSG_NOTIFY( osg::ALWAYS ) << "HOT is: " << hot << ", HAT is: " << hat << std::endl;*/ 118 119 120 // perform all queued events 121 viewer->eventTraversal(); 122 119 123 // update the scene by traversing it with the the update visitor which will 120 124 // call all node update callbacks and animations. 121 viewer->eventTraversal();125 122 126 viewer->updateTraversal(); 123 127
Note: See TracChangeset
for help on using the changeset viewer.