mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 11:59:01 +08:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators
This commit is contained in:
commit
973060c728
@ -1677,6 +1677,7 @@ sub update {
|
|||||||
|
|
||||||
$self->{canvas}->reload_scene if $self->{canvas};
|
$self->{canvas}->reload_scene if $self->{canvas};
|
||||||
$self->{canvas3D}->reload_scene if $self->{canvas3D};
|
$self->{canvas3D}->reload_scene if $self->{canvas3D};
|
||||||
|
$self->{preview3D}->reset_gcode_preview_data if $self->{preview3D};
|
||||||
$self->{preview3D}->reload_print if $self->{preview3D};
|
$self->{preview3D}->reload_print if $self->{preview3D};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -289,6 +289,12 @@ sub refresh_print {
|
|||||||
$self->load_print;
|
$self->load_print;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub reset_gcode_preview_data {
|
||||||
|
my ($self) = @_;
|
||||||
|
$self->gcode_preview_data->reset;
|
||||||
|
$self->canvas->reset_legend_texture();
|
||||||
|
}
|
||||||
|
|
||||||
sub load_print {
|
sub load_print {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user