ENABLE_GCODE_VIEWER -> Fixed scene update when opening a gcode file

This commit is contained in:
enricoturri1966 2020-07-21 16:00:03 +02:00
parent 5aadfe3d1c
commit 42677107a5

View file

@ -4650,6 +4650,7 @@ void Plater::load_gcode(const wxString& filename)
// cleanup view before to start loading/processing
p->gcode_result.reset();
reset_gcode_toolpaths();
p->preview->reload_print(false);
p->get_current_canvas3D()->render();