mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Reverted Print::export_png() for the Perl unit tests.
This commit is contained in:
parent
f3c9a798dd
commit
56633c7449
1 changed files with 8 additions and 0 deletions
|
|
@ -185,6 +185,14 @@ _constant()
|
||||||
}
|
}
|
||||||
%};
|
%};
|
||||||
|
|
||||||
|
void export_gcode(char *path_template) %code%{
|
||||||
|
try {
|
||||||
|
THIS->export_gcode(path_template, nullptr);
|
||||||
|
} catch (std::exception& e) {
|
||||||
|
croak(e.what());
|
||||||
|
}
|
||||||
|
%};
|
||||||
|
|
||||||
void export_png(char *path) %code%{
|
void export_png(char *path) %code%{
|
||||||
try {
|
try {
|
||||||
THIS->export_png(path);
|
THIS->export_png(path);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue