From 980c5bd6bb104e4978d98b351e9945852b857383 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 4 Nov 2009 12:14:57 +0000 Subject: [PATCH] Changed notify to output warnings and normally messages to std::out --- src/osg/Notify.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osg/Notify.cpp b/src/osg/Notify.cpp index 856190f48..604d109f6 100644 --- a/src/osg/Notify.cpp +++ b/src/osg/Notify.cpp @@ -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__)