ENABLE_GCODE_VIEWER -> Fixed scene update when opening a gcode file
This commit is contained in:
parent
5aadfe3d1c
commit
42677107a5
1 changed files with 1 additions and 0 deletions
|
@ -4650,6 +4650,7 @@ void Plater::load_gcode(const wxString& filename)
|
||||||
|
|
||||||
// cleanup view before to start loading/processing
|
// cleanup view before to start loading/processing
|
||||||
p->gcode_result.reset();
|
p->gcode_result.reset();
|
||||||
|
reset_gcode_toolpaths();
|
||||||
p->preview->reload_print(false);
|
p->preview->reload_print(false);
|
||||||
p->get_current_canvas3D()->render();
|
p->get_current_canvas3D()->render();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue