diff --git a/src/osgWidget/Browser.cpp b/src/osgWidget/Browser.cpp index 338fb1097..2fc286237 100644 --- a/src/osgWidget/Browser.cpp +++ b/src/osgWidget/Browser.cpp @@ -30,12 +30,12 @@ osg::ref_ptr& BrowserManager::instance() BrowserManager::BrowserManager() { - osg::notify(osg::INFO)<<"Constructing base BrowserManager"< final = new osg::Image; @@ -537,7 +537,7 @@ osg::Image* createNatifEdgeImageFromTheme(osg::Image* theme) if (s != t) { - osg::notify(osg::WARN) << "width and height are different, bad format theme image " << theme->getFileName() << std::endl; + OSG_WARN << "width and height are different, bad format theme image " << theme->getFileName() << std::endl; return 0; } @@ -546,7 +546,7 @@ osg::Image* createNatifEdgeImageFromTheme(osg::Image* theme) int intvalue = s/3; if (intvalue != ceilvalue) { - osg::notify(osg::WARN) << "the size of theme file " << theme->getFileName() << " can not be divided by 3, check the documentation about theme format" << std::endl; + OSG_WARN << "the size of theme file " << theme->getFileName() << " can not be divided by 3, check the documentation about theme format" << std::endl; return 0; }