Changed resolver failure message to use wxLogMessage instead of wxMessageBox

This commit is contained in:
Cirilo Bernardo 2016-02-26 15:18:59 +11:00
parent 37c85113ee
commit 0b18af3fdb
1 changed files with 2 additions and 2 deletions

View File

@ -259,10 +259,10 @@ wxString S3D_FILENAME_RESOLVER::ResolvePath( const wxString& aFileName )
if( !( m_errflags & ERRFLG_ENVPATH ) )
{
m_errflags |= ERRFLG_ENVPATH;
wxString errmsg = _( "No such path; ensure the environment var is defined" );
wxString errmsg = _( "[3D File Resolver] No such path; ensure the environment var is defined" );
errmsg.append( "\n" );
errmsg.append( tname );
wxMessageBox( errmsg, _( "3D file resolver" ) );
wxLogMessage( "%s\n", errmsg.ToUTF8() );
}
return wxEmptyString;