Fixed bugs in VRML/X3D parser log code
This commit is contained in:
parent
d2a13efc12
commit
b0a26f32ef
|
@ -303,10 +303,14 @@ SGNODE* WRL1FACESET::TranslateToSG( SGNODE* aParent, WRL1STATUS* sp )
|
|||
{
|
||||
#if defined( DEBUG_VRML1 ) && ( DEBUG_VRML1 > 1 )
|
||||
if( NULL == m_current.coord )
|
||||
{
|
||||
wxLogTrace( MASK_VRML, " * [INFO] bad model: no vertex set\n" );
|
||||
}
|
||||
|
||||
if( NULL == m_current.mat )
|
||||
{
|
||||
wxLogTrace( MASK_VRML, " * [INFO] bad model: no material set\n" );
|
||||
}
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
|
|
|
@ -153,7 +153,7 @@ bool WRL2BOX::Read( WRLPROC& proc, WRL2BASE* aTopNode )
|
|||
ostr << " * [INFO] invalid size at line " << line << ", column ";
|
||||
ostr << column << "\n";
|
||||
ostr << " * [INFO] file: '" << proc.GetFileName() << "'\n";
|
||||
ostr << " * [INFO] message: '" << proc.GetError() << "';
|
||||
ostr << " * [INFO] message: '" << proc.GetError() << "'";
|
||||
wxLogTrace( MASK_VRML, "%s\n", ostr.str().c_str() );
|
||||
} while( 0 );
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue