Ignore:
Timestamp:
May 31, 2012, 10:15:26 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/ReaderWriterDist.cpp

    r367 r368  
    5353ReaderWriterDist::ReadResult ReaderWriterDist::readObject( const std::string& file, const Options* options) const
    5454{
     55        // This function must be reimplemented because the osgb|t|x plugin would test for a valid filename extension and thus would block the fiel due to it's .dist extension.
    5556        ReadResult result = ReadResult::FILE_LOADED;
    5657        std::string fileName = file;
     
    6566ReaderWriterDist::ReadResult ReaderWriterDist::readObject( std::istream& fin, const Options* options ) const
    6667{
     68        // This function uses the osgb|t|x plugin to perform the operation
    6769        if ( rw )
    6870        {
     
    9597ReaderWriterDist::WriteResult ReaderWriterDist::writeObject( const osg::Object& object, const std::string& fileName, const osgDB::ReaderWriter::Options* options ) const
    9698{
     99        // This function must be reimplemented because the osgb|t|x plugin would test for a valid filename extension and thus would block the fiel due to it's .dist extension.
    97100        WriteResult result = WriteResult::FILE_SAVED;
    98101        std::ios::openmode mode = std::ios::out;
     
    110113ReaderWriterDist::WriteResult ReaderWriterDist::writeObject( const osg::Object& object, std::ostream& fout, const osgDB::ReaderWriter::Options* options ) const
    111114{
     115        // This function uses the osgb|t|x plugin to perform the operation
    112116        if ( rw )
    113117        {
Note: See TracChangeset for help on using the changeset viewer.