mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
GCode Preview - Legend texture shown only when gcode is available
This commit is contained in:
parent
593d794655
commit
6ff9021e04
9 changed files with 61 additions and 30 deletions
|
@ -1261,6 +1261,8 @@ sub reslice {
|
|||
$self->stop_background_process;
|
||||
# Rather perform one additional unnecessary update of the print object instead of skipping a pending async update.
|
||||
$self->async_apply_config;
|
||||
# Reset gcode data
|
||||
$self->{print}->clear_gcode_preview_data;
|
||||
$self->statusbar->SetCancelCallback(sub {
|
||||
$self->stop_background_process;
|
||||
$self->statusbar->SetStatusText("Slicing cancelled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue