mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 03:47:37 +08:00
Reverted Print::export_png() for the Perl unit tests.
This commit is contained in:
parent
f3c9a798dd
commit
56633c7449
@ -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…
x
Reference in New Issue
Block a user