diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-07-13 12:16:28 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-07-13 12:16:28 +0300 |
commit | 06613e47925834b2a7056b5bb178a4da0e37da8c (patch) | |
tree | 333ba387bd6421935063d84bec6227eed803bcf8 | |
parent | b2d9877cd54bf9e4d3c13ce584b848801e3dfba6 (diff) |
Fixed 3D preview not updated after g-code export
-rw-r--r-- | lib/Slic3r/GUI/Plater.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 2b0a5a0d5..3f069c0e4 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -203,7 +203,7 @@ sub new { if (($preview != $self->{preview3D}) && ($preview != $self->{canvas3D})) { $preview->OnActivate if $preview->can('OnActivate'); } elsif ($preview == $self->{preview3D}) { - $self->{preview3D}->load_print; + $self->{preview3D}->reload_print; # sets the canvas as dirty to force a render at the 1st idle event (wxWidgets IsShownOnScreen() is buggy and cannot be used reliably) Slic3r::GUI::_3DScene::set_as_dirty($self->{preview3D}->canvas); } elsif ($preview == $self->{canvas3D}) { |