diff options
author | bubnikv <bubnikv@gmail.com> | 2018-12-03 15:14:28 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-12-03 15:14:28 +0300 |
commit | d46d0dc3657937eb89db68d2bee9e07fe32422ce (patch) | |
tree | f0a67396c760e7dcb1edab883ea961116563e85c /xs | |
parent | 041fae8148f725e95772b3b964c96264c62d2b47 (diff) |
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.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Print.xsp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index f6edb5d64..5d17ac258 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -184,11 +184,4 @@ _constant() } %}; - void export_png(char *path) %code%{ - try { - THIS->export_png(path); - } catch (std::exception& e) { - croak(e.what()); - } - %}; }; |