From 42677107a57a0ad7319d856dcfcdc520148d8924 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Tue, 21 Jul 2020 16:00:03 +0200 Subject: [PATCH] ENABLE_GCODE_VIEWER -> Fixed scene update when opening a gcode file --- src/slic3r/GUI/Plater.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index f4c017add..ef113b7b9 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -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();