diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-01-10 15:43:00 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-01-10 15:43:00 +0300 |
commit | bbc9a0abe6a318a27ff3b18b23f4ae18f845946d (patch) | |
tree | f4bae7f9350e910252f6eaea736a255beb1598c4 /lib | |
parent | 6a744238b9a4d266b1028d1b86998553c0f61df8 (diff) |
Parallelization of extrude path render geometry generation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Slic3r/GUI/Plater/3DPreview.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater/3DPreview.pm b/lib/Slic3r/GUI/Plater/3DPreview.pm index 488938267..e7fb2aa22 100644 --- a/lib/Slic3r/GUI/Plater/3DPreview.pm +++ b/lib/Slic3r/GUI/Plater/3DPreview.pm @@ -205,6 +205,7 @@ sub new { $self->print->set_gcode_preview_type($selection); $self->auto_zoom(0); $self->reload_print; + $self->auto_zoom(1); }); EVT_CHECKLISTBOX($self, $checklist_features, sub { my $flags = 0; @@ -219,21 +220,25 @@ sub new { $self->print->set_gcode_preview_extrusion_flags($flags); $self->auto_zoom(0); $self->reload_print; + $self->auto_zoom(1); }); EVT_CHECKBOX($self, $checkbox_travel, sub { $self->print->set_gcode_preview_travel_visible($checkbox_travel->IsChecked()); $self->auto_zoom(0); $self->reload_print; + $self->auto_zoom(1); }); EVT_CHECKBOX($self, $checkbox_retractions, sub { $self->print->set_gcode_preview_retractions_visible($checkbox_retractions->IsChecked()); $self->auto_zoom(0); $self->reload_print; + $self->auto_zoom(1); }); EVT_CHECKBOX($self, $checkbox_unretractions, sub { $self->print->set_gcode_preview_unretractions_visible($checkbox_unretractions->IsChecked()); $self->auto_zoom(0); $self->reload_print; + $self->auto_zoom(1); }); # ===================== ENRICO_GCODE_PREVIEW ================================================== @@ -363,7 +368,6 @@ sub load_print { # ===================== ENRICO_GCODE_PREVIEW ================================================== $self->canvas->zoom_to_volumes; # ===================== ENRICO_GCODE_PREVIEW ================================================== - $self->auto_zoom(1); } # ===================== ENRICO_GCODE_PREVIEW ================================================== $self->_loaded(1); |