mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Octoprint (#804)
* Octoprint progress dialog * Fix curl version on Windows
This commit is contained in:
parent
00324a14b8
commit
b0840065ed
8 changed files with 136 additions and 41 deletions
|
@ -1481,7 +1481,11 @@ sub on_export_completed {
|
|||
# Send $self->{send_gcode_file} to OctoPrint.
|
||||
if ($send_gcode) {
|
||||
my $op = Slic3r::OctoPrint->new($self->{config});
|
||||
$op->send_gcode($self->GetId(), $PROGRESS_BAR_EVENT, $ERROR_EVENT, $self->{send_gcode_file});
|
||||
if ($op->send_gcode($self->{send_gcode_file})) {
|
||||
$self->statusbar->SetStatusText(L("OctoPrint upload finished."));
|
||||
} else {
|
||||
$self->statusbar->SetStatusText("");
|
||||
}
|
||||
}
|
||||
|
||||
$self->{print_file} = undef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue