Commit patch for x3d file reader (with minor changes). Commit other minor patches and fixes

This commit is contained in:
jean-pierre charras
2013-03-27 19:34:23 +01:00
parent aae87178a7
commit 5874ac0f6f
16 changed files with 1269 additions and 547 deletions
@@ -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;