From 3ffbdf28880494d0e67a2f910b770cc6df14a61b Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 3 Jan 2020 11:28:29 +0100 Subject: [PATCH] Ensure that after a reslice the nozzle location of re-slice is still correct --- plugins/SimulationView/SimulationView.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/SimulationView/SimulationView.py b/plugins/SimulationView/SimulationView.py index 95a3ac3f43..3a860a3055 100644 --- a/plugins/SimulationView/SimulationView.py +++ b/plugins/SimulationView/SimulationView.py @@ -274,7 +274,7 @@ class SimulationView(CuraView): self._minimum_path_num = self._current_path_num self._startUpdateTopLayers() - + self.recalculateStartEndElements() self.currentPathNumChanged.emit() def setMinimumPath(self, value: int) -> None: @@ -599,7 +599,7 @@ class SimulationView(CuraView): def _startUpdateTopLayers(self) -> None: if not self._compatibility_mode: return - + self.recalculateStartEndElements() if self._top_layers_job: self._top_layers_job.finished.disconnect(self._updateCurrentLayerMesh) self._top_layers_job.cancel()