Implemented naming of the SLA export file based on the output file name

template.

Reworked naming of the plater exports to not use the output file name
template, but to derive the file name from the first printable object's name.

Fixed error handling: Reimpemented the Perl's "eval" blocks
as try / catch blocks.
This commit is contained in:
bubnikv committed 2018-12-03 13:14:28 +01:00
1 parent 041fae8148
commit d46d0dc365
25 files changed
+474 -344

No files matched your search

-7
View File
@@ -184,11 +184,4 @@ _constant()
}
%};
void export_png(char *path) %code%{
try {
THIS->export_png(path);
} catch (std::exception& e) {
croak(e.what());
}
%};
};