Follow-up of a5b202aa1d (fixed cleanup of toolpaths in preview after scene update)

This commit is contained in:
Enrico Turri 2019-03-18 14:07:55 +01:00
parent de65d369a4
commit f249155340
3 changed files with 12 additions and 5 deletions

View file

@ -2388,7 +2388,7 @@ void Plater::priv::set_current_panel(wxPanel* panel)
{
this->q->reslice();
// keeps current gcode preview, if any
preview->reload_print(false, true);
preview->reload_print(true);
preview->set_canvas_as_dirty();
view_toolbar.select_item("Preview");
}