mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
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:
@@ -184,11 +184,4 @@ _constant()
|
||||
}
|
||||
%};
|
||||
|
||||
void export_png(char *path) %code%{
|
||||
try {
|
||||
THIS->export_png(path);
|
||||
} catch (std::exception& e) {
|
||||
croak(e.what());
|
||||
}
|
||||
%};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user