Commit 23ac8f48 authored by Mike Kremer's avatar Mike Kremer

Stereolithography files are now handled by a separate plugin.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7928 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7631c1bc
......@@ -264,6 +264,12 @@ QString FilePolyMeshPlugin::getLoadFilters() {
filters.replace(";;Object File Format ( *.off )", "");
filters.replace("*.off", "");
// Remove support for STL-files since they are now handled by a separate plugin
filters.replace(";;Stereolithography Interface Format ( *.stl *.stla *.stlb )", "");
filters.replace("*.stla", "");
filters.replace("*.stlb", "");
filters.replace("*.stl", "");
return filters;
}
......@@ -275,6 +281,11 @@ QString FilePolyMeshPlugin::getSaveFilters() {
// Remove support for OFF-files since they are now handled by a separate plugin
filters.replace(";;no description ( *.off )", "");
filters.replace("*.off", "");
// Remove support for STL-files since they are now handled by a separate plugin
filters.replace(";;Stereolithography Format ( *.stla *.stlb )", "");
filters.replace("*.stla", "");
filters.replace("*.stlb", "");
return filters;
}
......
......@@ -249,6 +249,12 @@ QString FileTriangleMeshPlugin::getLoadFilters() {
filters.replace(";;Object File Format ( *.off )", "");
filters.replace("*.off", "");
// Remove support for STL-files since they are now handled by a separate plugin
filters.replace(";;Stereolithography Interface Format ( *.stl *.stla *.stlb )", "");
filters.replace("*.stla", "");
filters.replace("*.stlb", "");
filters.replace("*.stl", "");
return filters;
};
......@@ -261,6 +267,11 @@ QString FileTriangleMeshPlugin::getSaveFilters() {
filters.replace(";;no description ( *.off )", "");
filters.replace("*.off", "");
// Remove support for STL-files since they are now handled by a separate plugin
filters.replace(";;Stereolithography Format ( *.stla *.stlb )", "");
filters.replace("*.stla", "");
filters.replace("*.stlb", "");
return filters;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment