Fem: Fix file suffixes
*i1.txt or *o2.txt are not valid suffixes for a file dialog. In the past (until 2018) the suffixes were set to *.txt but this has been changed with 6fe8a881e.
To avoid creating invalid filenames the original suffixes are restored.
This commit is contained in:
@@ -84,12 +84,10 @@ FreeCAD.addExportType(
|
||||
"feminout.importYamlJsonMesh",
|
||||
)
|
||||
|
||||
FreeCAD.addImportType("FEM mesh Z88 (*i1.txt *I1.TXT)", "feminout.importZ88Mesh")
|
||||
FreeCAD.addExportType("FEM mesh Z88 (*i1.txt)", "feminout.importZ88Mesh")
|
||||
FreeCAD.addImportType("FEM mesh Z88 (*.txt *.TXT)", "feminout.importZ88Mesh")
|
||||
FreeCAD.addExportType("FEM mesh Z88 (*.txt)", "feminout.importZ88Mesh")
|
||||
|
||||
FreeCAD.addImportType(
|
||||
"FEM result Z88 displacements (*o2.txt *O2.TXT)", "feminout.importZ88O2Results"
|
||||
)
|
||||
FreeCAD.addImportType("FEM result Z88 displacements (*.txt *.TXT)", "feminout.importZ88O2Results")
|
||||
|
||||
if "BUILD_FEM_VTK" in FreeCAD.__cmake__:
|
||||
FreeCAD.addImportType(
|
||||
|
||||
Reference in New Issue
Block a user