Suppress dialog pop-up when 3D file resolver does not find a file

This commit is contained in:
Cirilo Bernardo 2016-03-15 11:39:28 +11:00
parent a30151231f
commit 491e0250c0
1 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ wxString S3D_FILENAME_RESOLVER::ResolvePath( const wxString& aFileName )
wxString errmsg = _( "[3D File Resolver] No such path; ensure KISYS3DMOD is correctly defined" );
errmsg.append( "\n" );
errmsg.append( tname );
wxLogMessage( "%s\n", errmsg.ToUTF8() );
wxLogTrace( MASK_3D_RESOLVER, "%s\n", errmsg.ToUTF8() );
}
return wxEmptyString;
@ -360,7 +360,7 @@ wxString S3D_FILENAME_RESOLVER::ResolvePath( const wxString& aFileName )
wxString errmsg = _( "[3D File Resolver] No such path; ensure the path alias is defined" );
errmsg.append( "\n" );
errmsg.append( tname.substr( 1 ) );
wxLogMessage( "%s\n", errmsg.ToUTF8() );
wxLogTrace( MASK_3D_RESOLVER, "%s\n", errmsg.ToUTF8() );
}
return wxEmptyString;