mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 05:54:03 -06:00
Fixed GCode Preview not invalidated when deleting an object
This commit is contained in:
parent
f8b1dc5506
commit
a3c3eb5d2a
2 changed files with 7 additions and 0 deletions
|
@ -289,6 +289,12 @@ sub refresh_print {
|
|||
$self->load_print;
|
||||
}
|
||||
|
||||
sub reset_gcode_preview_data {
|
||||
my ($self) = @_;
|
||||
$self->gcode_preview_data->reset;
|
||||
$self->canvas->reset_legend_texture();
|
||||
}
|
||||
|
||||
sub load_print {
|
||||
my ($self) = @_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue