Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-01-03 13:28:29 +0300
committerJaime van Kessel <nallath@gmail.com>2020-01-03 13:28:29 +0300
commit3ffbdf28880494d0e67a2f910b770cc6df14a61b (patch)
tree45833956effd0555f4f16228f37ba6f15ce675f8 /plugins/SimulationView
parent552ce1fc66530c4a70208097acf0ce7dedc51963 (diff)
Ensure that after a reslice the nozzle location of re-slice is still correct
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r--plugins/SimulationView/SimulationView.py4
1 files 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()