Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-12-03 15:14:28 +0300
committerbubnikv <bubnikv@gmail.com>2018-12-03 15:14:28 +0300
commitd46d0dc3657937eb89db68d2bee9e07fe32422ce (patch)
treef0a67396c760e7dcb1edab883ea961116563e85c /xs
parent041fae8148f725e95772b3b964c96264c62d2b47 (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.xsp7
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());
- }
- %};
};