Suppressed 3D plugin VRML file output from default DEBUG build

This commit is contained in:
Cirilo Bernardo 2016-01-23 16:58:22 +11:00
parent c79cc21396
commit 3cb1924750
2 changed files with 3 additions and 2 deletions

View File

@ -295,7 +295,7 @@ SCENEGRAPH* Load( char const* aFileName )
} }
// DEBUG: WRITE OUT IDF FILE TO CONFIRM NORMALS // DEBUG: WRITE OUT IDF FILE TO CONFIRM NORMALS
#ifdef DEBUG #if defined( DEBUG_IDF ) && DEBUG_IDF > 3
if( data ) if( data )
{ {
wxFileName fn( aFileName ); wxFileName fn( aFileName );

View File

@ -262,7 +262,8 @@ SCENEGRAPH* Load( char const* aFileName )
delete modelFile; delete modelFile;
// DEBUG: WRITE OUT VRML2 FILE TO CONFIRM STRUCTURE // DEBUG: WRITE OUT VRML2 FILE TO CONFIRM STRUCTURE
#if defined( DEBUG_VRML1 ) || defined( DEBUG_VRML2 ) #if ( defined( DEBUG_VRML1 ) && DEBUG_VRML1 > 3 ) \
|| ( defined( DEBUG_VRML2 ) && DEBUG_VRML2 > 3 )
if( scene ) if( scene )
{ {
wxFileName fn( wxString::FromUTF8Unchecked( aFileName ) ); wxFileName fn( wxString::FromUTF8Unchecked( aFileName ) );