Skip to content

Commit

Permalink
fix gcode viewer (plater redraw notification)
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Sep 27, 2021
1 parent 4672dc4 commit 7c67fcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slic3r/GUI/Plater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5066,6 +5066,8 @@ void Plater::load_gcode(const wxString& filename)
p->gcode_result = std::move(processor.extract_result());

// show results
p->preview->get_canvas3d()->set_preview_dirty();
p->preview->get_canvas3d()->set_gcode_viewer_dirty();
p->preview->reload_print(false);
p->preview->get_canvas3d()->zoom_to_gcode();

Expand Down

0 comments on commit 7c67fcc

Please sign in to comment.