Show
Ignore:
Timestamp:
06/07/11 18:17:35 (3 years ago)
Author:
robert
Message:

Added support for .osgt, .osgb and .osgx plugins to osgvolume example

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp

    r12486 r12501  
    16541654        std::string ext = osgDB::getFileExtension(outputFile); 
    16551655        std::string name_no_ext = osgDB::getNameLessExtension(outputFile); 
    1656         if (ext=="osg") 
     1656        if (ext=="osg" || ext=="osgt" || ext=="osgx" ) 
    16571657        { 
    16581658            if (image_3d.valid()) 
     
    16631663            osgDB::writeNodeFile(*volume, outputFile); 
    16641664        } 
    1665         else if (ext=="ive") 
     1665        else if (ext=="ive" || ext=="osgb" ) 
    16661666        { 
    16671667            osgDB::writeNodeFile(*volume, outputFile);