- Timestamp:
- 05/28/10 18:22:02 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp
r11159 r11489 311 311 if ( !keepExternalReferences ) 312 312 { 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; 314 314 // read externals. 315 315 if (rr.getNode()) … … 323 323 else 324 324 { 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; 326 326 } 327 327 } … … 350 350 351 351 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; 353 353 354 354 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; 356 356 357 357 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; 359 359 360 360 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; 362 362 363 363 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; 365 365 366 366 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; 368 368 369 369 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; 371 371 372 372 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; 374 374 375 375 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; 377 377 378 378 if (document.getDoUnitsConversion()) … … 550 550 if ( fOut.fail()) 551 551 { 552 osg::notify( osg::FATAL )<< "fltexp: Failed to open output stream." << std::endl;552 OSG_FATAL << "fltexp: Failed to open output stream." << std::endl; 553 553 return WriteResult::ERROR_IN_WRITING_FILE; 554 554 } … … 584 584 if ( !osgDB::makeDirectory( fltOpt->getTempDir() ) ) 585 585 { 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; 587 587 return WriteResult::ERROR_IN_WRITING_FILE; 588 588 }
