From 70e44c3e8ee283baa80c51aeadf9b749ea8c8569 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 21 Oct 2020 14:00:42 +0200 Subject: [PATCH] Fixed definition of psSlicingFinished to fix notification updates after the slicing finishes. --- src/libslic3r/Print.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/libslic3r/Print.hpp b/src/libslic3r/Print.hpp index d7ec6b590..d354b0d79 100644 --- a/src/libslic3r/Print.hpp +++ b/src/libslic3r/Print.hpp @@ -37,17 +37,18 @@ namespace FillAdaptive { }; // Print step IDs for keeping track of the print state. +// The Print steps are applied in this order. enum PrintStep { - psSkirt, - psBrim, - // Synonym for the last step before the Wipe Tower / Tool Ordering, for the G-code preview slider to understand that - // all the extrusions are there for the layer slider to add color changes etc. - psExtrusionPaths = psBrim, psWipeTower, + // Ordering of the tools on PrintObjects for a multi-material print. // psToolOrdering is a synonym to psWipeTower, as the Wipe Tower calculates and modifies the ToolOrdering, // while if printing without the Wipe Tower, the ToolOrdering is calculated as well. psToolOrdering = psWipeTower, - psSlicingFinished = psToolOrdering, + psSkirt, + psBrim, + // Last step before G-code export, after this step is finished, the initial extrusion path preview + // should be refreshed. + psSlicingFinished = psBrim, psGCodeExport, psCount, };