Converted osg::notify to OSG_INFO etc.
This commit is contained in:
@@ -45,7 +45,7 @@ static bool getFilenameAndParams(const std::string& input, std::string& filename
|
||||
params = input.substr(pos+1, std::string::npos );
|
||||
if( params.empty() )
|
||||
{
|
||||
osg::notify(osg::WARN) << "Missing parameters for " EXTENSION_NAME " pseudo-loader" << std::endl;
|
||||
OSG_WARN << "Missing parameters for " EXTENSION_NAME " pseudo-loader" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -100,12 +100,12 @@ public:
|
||||
|
||||
if( subFileName.empty())
|
||||
{
|
||||
osg::notify(osg::WARN) << "Missing subfilename for " EXTENSION_NAME " pseudo-loader" << std::endl;
|
||||
OSG_WARN << "Missing subfilename for " EXTENSION_NAME " pseudo-loader" << std::endl;
|
||||
return ReadResult::FILE_NOT_HANDLED;
|
||||
}
|
||||
|
||||
osg::notify(osg::INFO) << " params = \"" << params << "\"" << std::endl;
|
||||
osg::notify(osg::INFO) << " subFileName = \"" << subFileName << "\"" << std::endl;
|
||||
OSG_INFO << " params = \"" << params << "\"" << std::endl;
|
||||
OSG_INFO << " subFileName = \"" << subFileName << "\"" << std::endl;
|
||||
|
||||
osg::ref_ptr<osgShadow::ShadowTechnique> technique;
|
||||
if (!params.empty())
|
||||
@@ -125,7 +125,7 @@ public:
|
||||
if( !node )
|
||||
{
|
||||
// propagate the read failure upwards
|
||||
osg::notify(osg::WARN) << "Subfile \"" << subFileName << "\" could not be loaded" << std::endl;
|
||||
OSG_WARN << "Subfile \"" << subFileName << "\" could not be loaded" << std::endl;
|
||||
return ReadResult::FILE_NOT_HANDLED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user