mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix typing issue
This commit is contained in:
parent
1a050968a5
commit
1d0e88dc16
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
## Remove old layer data (if any)
|
## Remove old layer data (if any)
|
||||||
def _clearLayerData(self, build_plate_numbers: Set = None) -> None:
|
def _clearLayerData(self, build_plate_numbers: Set = None) -> None:
|
||||||
# Clear out any old gcode
|
# Clear out any old gcode
|
||||||
self._scene.gcode_dict = {} # type: dict
|
self._scene.gcode_dict = {} # type: ignore
|
||||||
|
|
||||||
for node in DepthFirstIterator(self._scene.getRoot()): #type: ignore #Ignore type error because iter() should get called automatically by Python syntax.
|
for node in DepthFirstIterator(self._scene.getRoot()): #type: ignore #Ignore type error because iter() should get called automatically by Python syntax.
|
||||||
if node.callDecoration("getLayerData"):
|
if node.callDecoration("getLayerData"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue