Changeset 12501 for OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
- Timestamp:
- 06/07/11 18:17:35 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
r12486 r12501 1654 1654 std::string ext = osgDB::getFileExtension(outputFile); 1655 1655 std::string name_no_ext = osgDB::getNameLessExtension(outputFile); 1656 if (ext=="osg" )1656 if (ext=="osg" || ext=="osgt" || ext=="osgx" ) 1657 1657 { 1658 1658 if (image_3d.valid()) … … 1663 1663 osgDB::writeNodeFile(*volume, outputFile); 1664 1664 } 1665 else if (ext=="ive" )1665 else if (ext=="ive" || ext=="osgb" ) 1666 1666 { 1667 1667 osgDB::writeNodeFile(*volume, outputFile);
