mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-26 09:54:29 +08:00
fix gcode viewer (plater redraw notification)
supermerill/SuperSlicer#1542
This commit is contained in:
parent
b66026342a
commit
8bdab557c3
@ -5066,6 +5066,8 @@ void Plater::load_gcode(const wxString& filename)
|
|||||||
p->gcode_result = std::move(processor.extract_result());
|
p->gcode_result = std::move(processor.extract_result());
|
||||||
|
|
||||||
// show results
|
// show results
|
||||||
|
p->preview->get_canvas3d()->set_preview_dirty();
|
||||||
|
p->preview->get_canvas3d()->set_gcode_viewer_dirty();
|
||||||
p->preview->reload_print(false);
|
p->preview->reload_print(false);
|
||||||
p->preview->get_canvas3d()->zoom_to_gcode();
|
p->preview->get_canvas3d()->zoom_to_gcode();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user