File formats: Uppercase file types when importing a file. (#10977)

* Added uppercase extensions for supported formats

In the file App\Application.cpp

* Added file types in upper case

* Adds uppercase file types to the file import filter.

Fixes #10879

* Added filter for *.fcmacro *.fcscript
This commit is contained in:
Victor Predko
2023-10-16 20:40:46 +03:00
committed by GitHub
parent 0ee48bfea5
commit e1206a3fac
18 changed files with 46 additions and 46 deletions

View File

@@ -33,5 +33,5 @@ FreeCAD.__unit_test__ += ["TestAssemblyWorkbench"]
# This adds a custom import type to the FreeCAD import dialog.
# The correct format for assembly interoperability is a research topic. ASMT is a placeholder.
FreeCAD.addImportType("Assembly Format (*.asmt)", "AssemblyImport")
FreeCAD.addImportType("Assembly Format (*.asmt *.ASMT)", "AssemblyImport")
# FreeCAD.addExportType()