Commit patch for x3d file reader (with minor changes). Commit other minor patches and fixes
This commit is contained in:
@@ -302,17 +302,18 @@ void DIALOG_MODULE_MODULE_EDITOR::BrowseAndAdd3DLib( wxCommandEvent& event )
|
||||
#ifdef __WINDOWS__
|
||||
fullpath.Replace( wxT( "/" ), wxT( "\\" ) );
|
||||
#endif
|
||||
|
||||
fullfilename = EDA_FileSelector( _( "3D Shape:" ),
|
||||
fullpath,
|
||||
wxEmptyString,
|
||||
VrmlFileExtension,
|
||||
wxGetTranslation( VrmlFileWildcard ),
|
||||
wxEmptyString,
|
||||
wxGetTranslation( Shapes3DFileWildcard ),
|
||||
this,
|
||||
wxFD_OPEN,
|
||||
true
|
||||
);
|
||||
|
||||
if( fullfilename == wxEmptyString )
|
||||
if( fullfilename.IsEmpty() )
|
||||
return;
|
||||
|
||||
wxFileName fn = fullfilename;
|
||||
|
||||
Reference in New Issue
Block a user