Changed notify to output warnings and normally messages to std::out
This commit is contained in:
@@ -220,10 +220,14 @@ std::ostream& osg::notify(const osg::NotifySeverity severity)
|
||||
|
||||
void osg::StandardNotifyHandler::notify(osg::NotifySeverity severity, const char *message)
|
||||
{
|
||||
#if 0
|
||||
if (severity <= osg::WARN)
|
||||
fputs(message, stderr);
|
||||
else
|
||||
fputs(message, stdout);
|
||||
#else
|
||||
fputs(message, stdout);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
|
||||
Reference in New Issue
Block a user