mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:39:04 +08:00
Ensure that after a reslice the nozzle location of re-slice is still correct
This commit is contained in:
parent
552ce1fc66
commit
3ffbdf2888
@ -274,7 +274,7 @@ class SimulationView(CuraView):
|
|||||||
self._minimum_path_num = self._current_path_num
|
self._minimum_path_num = self._current_path_num
|
||||||
|
|
||||||
self._startUpdateTopLayers()
|
self._startUpdateTopLayers()
|
||||||
|
self.recalculateStartEndElements()
|
||||||
self.currentPathNumChanged.emit()
|
self.currentPathNumChanged.emit()
|
||||||
|
|
||||||
def setMinimumPath(self, value: int) -> None:
|
def setMinimumPath(self, value: int) -> None:
|
||||||
@ -599,7 +599,7 @@ class SimulationView(CuraView):
|
|||||||
def _startUpdateTopLayers(self) -> None:
|
def _startUpdateTopLayers(self) -> None:
|
||||||
if not self._compatibility_mode:
|
if not self._compatibility_mode:
|
||||||
return
|
return
|
||||||
|
self.recalculateStartEndElements()
|
||||||
if self._top_layers_job:
|
if self._top_layers_job:
|
||||||
self._top_layers_job.finished.disconnect(self._updateCurrentLayerMesh)
|
self._top_layers_job.finished.disconnect(self._updateCurrentLayerMesh)
|
||||||
self._top_layers_job.cancel()
|
self._top_layers_job.cancel()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user