- Timestamp:
- 06/01/07 21:01:06 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp
r6796 r6799 278 278 while (arguments.read("--screen", screenNum) || arguments.read("-s", screenNum)) viewer.setUpViewOnSingleScreen(screenNum); 279 279 280 std::string pathfile; 281 while (arguments.read("-p",pathfile)) {} 282 280 283 281 284 // if user request help write it out to cout. … … 386 389 keyswitchManipulator->addMatrixManipulator( '4', "Terrain", new osgGA::TerrainManipulator() ); 387 390 388 std::string pathfile; 389 while (arguments.read("-p",pathfile)) 391 if (!pathfile.empty()) 390 392 { 391 393 osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile);
