diff --git a/src/osgPlugins/pfb/ConvertFromPerformer.cpp b/src/osgPlugins/pfb/ConvertFromPerformer.cpp index d744750cc..a410ebccc 100644 --- a/src/osgPlugins/pfb/ConvertFromPerformer.cpp +++ b/src/osgPlugins/pfb/ConvertFromPerformer.cpp @@ -106,7 +106,7 @@ osg::Object* ConvertFromPerformer::getOsgObject(pfObject* pfObj) PfObjectToOsgObjectMap::iterator fitr = _pfToOsgMap.find(pfObj); if (fitr != _pfToOsgMap.end()) { - // osg::notify(DEBUG) << "Found shared object"<(getOsgObject(sequence)); if (osgSequence) @@ -296,7 +296,7 @@ osg::Node* ConvertFromPerformer::visitSequence(osg::Group* osgParent, // add children for(int i=0;igetNumChildren();++i) { - //osg::notify(osg::WARN) << "child " << i << " time " << sequence->getTime(i) << std::endl; + //OSG_WARN << "child " << i << " time " << sequence->getTime(i) << std::endl; osgSequence->setTime(i, sequence->getTime(i)); visitNode(osgSequence,sequence->getChild(i)); } @@ -305,7 +305,7 @@ osg::Node* ConvertFromPerformer::visitSequence(osg::Group* osgParent, int mode, begin, end; sequence->getInterval(&mode, &begin, &end); - //osg::notify(osg::WARN) << "loop " << mode << std::endl; + //OSG_WARN << "loop " << mode << std::endl; osg::Sequence::LoopMode loopMode = osg::Sequence::LOOP; if (mode == PFSEQ_SWING) loopMode = osg::Sequence::SWING; @@ -606,7 +606,7 @@ osg::Drawable* ConvertFromPerformer::visitGeoSet(osg::Geode* osgGeode,pfGeoSet* break; default: - osg::notify(osg::INFO) << "ConvertFromPerformer::visitGeoSet: Osg can't convert primitive " + OSG_INFO << "ConvertFromPerformer::visitGeoSet: Osg can't convert primitive " << geoset->getPrimType() << std::endl; break; @@ -698,7 +698,7 @@ osg::Drawable* ConvertFromPerformer::visitGeoSet(osg::Geode* osgGeode,pfGeoSet* } else { - osg::notify(osg::INFO)<<"OSG can't handle non PER_VERTEX tex coord binding at present"<setNormalIndices(osg_indices); @@ -876,7 +876,7 @@ osg::Drawable* ConvertFromPerformer::visitGeoSet(osg::Geode* osgGeode,pfGeoSet* if (ni!=nn) { - osg::notify(osg::INFO) << "1 ni!=nn"<setColorIndices(osg_indices); @@ -990,38 +990,38 @@ osg::StateSet* ConvertFromPerformer::visitGeoState(osg::Drawable* osgDrawable,pf // Don could you fill in some of these blanks??? unsigned int inherit = geostate->getInherit(); - // osg::notify(DEBUG) << endl << "Inherit = "<getMode(PFSTATE_ALPHAFUNC); @@ -1246,7 +1246,7 @@ osg::StateSet* ConvertFromPerformer::visitGeoState(osg::Drawable* osgDrawable,pf osgTexEnv->setColor(osg::Vec4(r,g,b,a)); break; default: - osg::notify(osg::WARN) << "TexEnv Mode "<setTextureAttribute(0,osgTexEnv); @@ -1275,8 +1275,8 @@ osg::StateSet* ConvertFromPerformer::visitGeoState(osg::Drawable* osgDrawable,pf osgStateSet->setTextureMode(0,GL_TEXTURE_GEN_T,osg::StateAttribute::ON); break; case(PFTG_EYE_LINEAR_IDENT) : - osg::notify(osg::WARN) << "TexGen Mode PFTG_EYE_LINEAR_IDENT not currently supported by the OSG,"<setMode(osg::TexGen::EYE_LINEAR); osgStateSet->setTextureAttribute(0,osgTexGen); @@ -1293,15 +1293,15 @@ osg::StateSet* ConvertFromPerformer::visitGeoState(osg::Drawable* osgDrawable,pf osgStateSet->setAssociatedTextureModes(0,osgTexGen,osg::StateAttribute::OFF); break; case(PFTG_OBJECT_DISTANCE_TO_LINE) : - osg::notify(osg::WARN) << "TexGen Mode PFTG_OBJECT_DISTANCE_TO_LINE not currently supported by the OSG."<setAssociatedTextureModes(0,osgTexGen,osg::StateAttribute::OFF); break; case(PFTG_EYE_DISTANCE_TO_LINE) : - osg::notify(osg::WARN) << "TexGen Mode PFTG_EYE_DISTANCE_TO_LINE not currently supported by the OSG."<setAssociatedTextureModes(0,osgTexGen,osg::StateAttribute::OFF); break; default: - osg::notify(osg::WARN) << "TexGen Mode "<setAssociatedTextureModes(0,osgTexGen,osg::StateAttribute::OFF); break; } diff --git a/src/osgPlugins/pfb/ReaderWriterPFB.cpp b/src/osgPlugins/pfb/ReaderWriterPFB.cpp index 9c1ab0b52..efee6d3bf 100644 --- a/src/osgPlugins/pfb/ReaderWriterPFB.cpp +++ b/src/osgPlugins/pfb/ReaderWriterPFB.cpp @@ -37,7 +37,7 @@ class ReaderWriterPFB : public osgDB::ReaderWriter std::string fileName = osgDB::findDataFile( file, options ); if (fileName.empty()) fileName = file; // let Peformer see if it can file the filep - osg::notify(osg::INFO)<<"ReaderWriterPFB::readImage( "<