Show
Ignore:
Timestamp:
05/28/10 18:22:02 (5 years ago)
Author:
robert
Message:

Converted osg::notify to OSG_INFO etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp

    r11159 r11489  
    311311                if ( !keepExternalReferences ) 
    312312                { 
    313                     osg::notify(osg::DEBUG_INFO) << "keepExternalReferences not found, so externals will be re-readed"<<std::endl; 
     313                    OSG_DEBUG << "keepExternalReferences not found, so externals will be re-readed"<<std::endl; 
    314314                    // read externals. 
    315315                    if (rr.getNode()) 
     
    323323                else 
    324324                { 
    325                     osg::notify(osg::DEBUG_INFO) << "keepExternalReferences found, so externals will be left as ProxyNodes"<<std::endl;     
     325                    OSG_DEBUG << "keepExternalReferences found, so externals will be left as ProxyNodes"<<std::endl;     
    326326                } 
    327327            } 
     
    350350                 
    351351                document.setReplaceClampWithClampToEdge((options->getOptionString().find("clampToEdge")!=std::string::npos)); 
    352                 osg::notify(osg::DEBUG_INFO) << readerMsg << "clampToEdge=" << document.getReplaceClampWithClampToEdge() << std::endl; 
     352                OSG_DEBUG << readerMsg << "clampToEdge=" << document.getReplaceClampWithClampToEdge() << std::endl; 
    353353 
    354354                document.setKeepExternalReferences((options->getOptionString().find("keepExternalReferences")!=std::string::npos)); 
    355                 osg::notify(osg::DEBUG_INFO) << readerMsg << "keepExternalReferences=" << document.getKeepExternalReferences() << std::endl; 
     355                OSG_DEBUG << readerMsg << "keepExternalReferences=" << document.getKeepExternalReferences() << std::endl; 
    356356 
    357357                document.setPreserveFace((options->getOptionString().find("preserveFace")!=std::string::npos)); 
    358                 osg::notify(osg::DEBUG_INFO) << readerMsg << "preserveFace=" << document.getPreserveFace() << std::endl; 
     358                OSG_DEBUG << readerMsg << "preserveFace=" << document.getPreserveFace() << std::endl; 
    359359 
    360360                document.setPreserveObject((options->getOptionString().find("preserveObject")!=std::string::npos)); 
    361                 osg::notify(osg::DEBUG_INFO) << readerMsg << "preserveObject=" << document.getPreserveObject() << std::endl; 
     361                OSG_DEBUG << readerMsg << "preserveObject=" << document.getPreserveObject() << std::endl; 
    362362 
    363363                document.setDefaultDOFAnimationState((options->getOptionString().find("dofAnimation")!=std::string::npos)); 
    364                 osg::notify(osg::DEBUG_INFO) << readerMsg << "dofAnimation=" << document.getDefaultDOFAnimationState() << std::endl; 
     364                OSG_DEBUG << readerMsg << "dofAnimation=" << document.getDefaultDOFAnimationState() << std::endl; 
    365365 
    366366                document.setUseBillboardCenter((options->getOptionString().find("billboardCenter")!=std::string::npos)); 
    367                 osg::notify(osg::DEBUG_INFO) << readerMsg << "billboardCenter=" << document.getUseBillboardCenter() << std::endl; 
     367                OSG_DEBUG << readerMsg << "billboardCenter=" << document.getUseBillboardCenter() << std::endl; 
    368368 
    369369                document.setUseTextureAlphaForTransparancyBinning(options->getOptionString().find("noTextureAlphaForTransparancyBinning")==std::string::npos); 
    370                 osg::notify(osg::DEBUG_INFO) << readerMsg << "noTextureAlphaForTransparancyBinning=" << !document.getUseTextureAlphaForTransparancyBinning() << std::endl; 
     370                OSG_DEBUG << readerMsg << "noTextureAlphaForTransparancyBinning=" << !document.getUseTextureAlphaForTransparancyBinning() << std::endl; 
    371371 
    372372                document.setReadObjectRecordData(options->getOptionString().find("readObjectRecordData")==std::string::npos); 
    373                 osg::notify(osg::DEBUG_INFO) << readerMsg << "readObjectRecordData=" << !document.getReadObjectRecordData() << std::endl; 
     373                OSG_DEBUG << readerMsg << "readObjectRecordData=" << !document.getReadObjectRecordData() << std::endl; 
    374374 
    375375                document.setDoUnitsConversion((options->getOptionString().find("noUnitsConversion")==std::string::npos)); // default to true, unless noUnitsConversion is specified. 
    376                 osg::notify(osg::DEBUG_INFO) << readerMsg << "noUnitsConversion=" << !document.getDoUnitsConversion() << std::endl; 
     376                OSG_DEBUG << readerMsg << "noUnitsConversion=" << !document.getDoUnitsConversion() << std::endl; 
    377377 
    378378                if (document.getDoUnitsConversion()) 
     
    550550            if ( fOut.fail()) 
    551551            { 
    552                 osg::notify( osg::FATAL ) << "fltexp: Failed to open output stream." << std::endl; 
     552                OSG_FATAL << "fltexp: Failed to open output stream." << std::endl; 
    553553                return WriteResult::ERROR_IN_WRITING_FILE; 
    554554            } 
     
    584584                if ( !osgDB::makeDirectory( fltOpt->getTempDir() ) ) 
    585585                { 
    586                     osg::notify( osg::FATAL ) << "fltexp: Error creating temp dir: " << fltOpt->getTempDir() << std::endl; 
     586                    OSG_FATAL << "fltexp: Error creating temp dir: " << fltOpt->getTempDir() << std::endl; 
    587587                    return WriteResult::ERROR_IN_WRITING_FILE; 
    588588                }