Fix possible crash in various view providers, fix formatting of Coin debug output, fix warning and compiler errors with Coin2 in SoDatumLabel

This commit is contained in:
unknown
2012-07-18 10:40:36 +02:00
parent 4e9412c0ae
commit 9c974969f5
7 changed files with 24 additions and 22 deletions

View File

@@ -1366,13 +1366,13 @@ void messageHandlerCoin(const SoError * error, void * userdata)
switch (dbg->getSeverity())
{
case SoDebugError::INFO:
Base::Console().Message( msg );
Base::Console().Message("%s\n", msg);
break;
case SoDebugError::WARNING:
Base::Console().Warning( msg );
Base::Console().Warning("%s\n", msg);
break;
default: // error
Base::Console().Error( msg );
Base::Console().Error("%s\n", msg);
break;
}
#ifdef FC_OS_WIN32