Remove unhelpful warning message.

It appears far too often with the new libraries.

Fixes: lp:1772255
* https://bugs.launchpad.net/kicad/+bug/1772255
This commit is contained in:
Jeff Young 2018-05-20 19:31:23 +01:00
parent 052ca08546
commit c48e5b6423
1 changed files with 0 additions and 16 deletions

View File

@ -388,22 +388,6 @@ wxString S3D_RESOLVER::ResolvePath( const wxString& aFileName )
return tname; return tname;
} }
// if a path begins with ${ENV_VAR}/$(ENV_VAR) and is not resolved then the
// file either does not exist or the ENV_VAR is not defined
if( aFileName.StartsWith( "${" ) || aFileName.StartsWith( "$(" ) )
{
if( !( m_errflags & ERRFLG_ENVPATH ) )
{
m_errflags |= ERRFLG_ENVPATH;
wxString errmsg = "[3D File Resolver] No such path; ensure the environment var is defined";
errmsg.append( "\n" );
errmsg.append( tname );
wxLogMessage( "%s\n", errmsg.ToUTF8() );
}
return wxEmptyString;
}
// at this point aFileName is: // at this point aFileName is:
// a. an aliased shortened name or // a. an aliased shortened name or
// b. cannot be determined // b. cannot be determined