3D shapes downloader: add .step and .stp files to the list of files to download
This commit is contained in:
parent
a18d72b5d6
commit
32abc273d0
|
@ -397,7 +397,7 @@ bool WIZARD_3DSHAPE_LIBS_DOWNLOADER::downloadOneLib( const wxString& aLibURL,
|
|||
|
||||
bool success;
|
||||
|
||||
// Get the list of candidate files: with ext .wrl or .wings
|
||||
// Get the list of candidate files: with ext .wrl .stp .step .STEP .STP or .wings
|
||||
do
|
||||
{
|
||||
GITHUB_GETLIBLIST getter( aLibURL );
|
||||
|
|
|
@ -122,7 +122,12 @@ protected:
|
|||
// A callback function to filter 3D filenames
|
||||
static bool filter3dshapesfiles( const wxString& aData )
|
||||
{
|
||||
return aData.Contains( wxT( ".wrl" ) ) || aData.Contains( wxT( ".wings" ) );
|
||||
return aData.Contains( wxT( ".wrl" ) ) ||
|
||||
aData.Contains( wxT( ".wings" ) ) ||
|
||||
aData.Contains( wxT( ".stp" ) ) ||
|
||||
aData.Contains( wxT( ".step" ) ) ||
|
||||
aData.Contains( wxT( ".STP" ) ) ||
|
||||
aData.Contains( wxT( ".STEP" ) );
|
||||
}
|
||||
|
||||
// A callback function to filter 3D folders names
|
||||
|
|
Loading…
Reference in New Issue