mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 15:53:12 +08:00
Top layers are now correctly updated when object is selected
CURA-992
This commit is contained in:
parent
5cb1e9e2a6
commit
c4c5ba6c22
@ -225,8 +225,8 @@ class _CreateTopLayersJob(Job):
|
|||||||
layer_data = None
|
layer_data = None
|
||||||
for node in DepthFirstIterator(self._scene.getRoot()):
|
for node in DepthFirstIterator(self._scene.getRoot()):
|
||||||
layer_data = node.callDecoration("getLayerData")
|
layer_data = node.callDecoration("getLayerData")
|
||||||
if not layer_data:
|
if layer_data:
|
||||||
continue
|
break
|
||||||
|
|
||||||
if self._cancel or not layer_data:
|
if self._cancel or not layer_data:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user