Fixed typo
This commit is contained in:
parent
66a11037ae
commit
d4c9ecf370
@ -627,7 +627,7 @@ int main( int argc, char **argv )
|
|||||||
viewer.addEventHandler(peh.get());
|
viewer.addEventHandler(peh.get());
|
||||||
|
|
||||||
// add the screen capture handler
|
// add the screen capture handler
|
||||||
std::string screenCaptureFilename = "screen_short.jpg";
|
std::string screenCaptureFilename = "screen_shot.jpg";
|
||||||
while(arguments.read("--screenshot", screenCaptureFilename)) {}
|
while(arguments.read("--screenshot", screenCaptureFilename)) {}
|
||||||
osg::ref_ptr<osgViewer::ScreenCaptureHandler::WriteToFile> writeFile = new osgViewer::ScreenCaptureHandler::WriteToFile(
|
osg::ref_ptr<osgViewer::ScreenCaptureHandler::WriteToFile> writeFile = new osgViewer::ScreenCaptureHandler::WriteToFile(
|
||||||
osgDB::getNameLessExtension(screenCaptureFilename),
|
osgDB::getNameLessExtension(screenCaptureFilename),
|
||||||
|
Loading…
Reference in New Issue
Block a user