diff options
author | luz paz <luzpaz@users.noreply.github.com> | 2021-09-07 18:33:54 +0300 |
---|---|---|
committer | luz paz <luzpaz@users.noreply.github.com> | 2021-09-07 18:33:54 +0300 |
commit | d68f375e386049878de69eb0b33aacc3f40cb344 (patch) | |
tree | 7c31e3a32ac8b9d2c7328c6de5f300eb4eb15182 /plugins/CuraEngineBackend | |
parent | 7eeae4db87f3f6e860c2bc4faab79af50c59e484 (diff) |
Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
Diffstat (limited to 'plugins/CuraEngineBackend')
-rwxr-xr-x | plugins/CuraEngineBackend/CuraEngineBackend.py | 2 | ||||
-rw-r--r-- | plugins/CuraEngineBackend/StartSliceJob.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index a29fd2ad11..74f564c825 100755 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -647,7 +647,7 @@ class CuraEngineBackend(QObject, Backend): for node in DepthFirstIterator(self._scene.getRoot()): if node.callDecoration("getLayerData"): if not build_plate_numbers or node.callDecoration("getBuildPlateNumber") in build_plate_numbers: - # We can asume that all nodes have a parent as we're looping through the scene (and filter out root) + # We can assume that all nodes have a parent as we're looping through the scene (and filter out root) cast(SceneNode, node.getParent()).removeChild(node) def markSliceAll(self) -> None: diff --git a/plugins/CuraEngineBackend/StartSliceJob.py b/plugins/CuraEngineBackend/StartSliceJob.py index 453907ffc0..de3b375e28 100644 --- a/plugins/CuraEngineBackend/StartSliceJob.py +++ b/plugins/CuraEngineBackend/StartSliceJob.py @@ -195,7 +195,7 @@ class StartSliceJob(Job): # Remove old layer data. for node in DepthFirstIterator(self._scene.getRoot()): if node.callDecoration("getLayerData") and node.callDecoration("getBuildPlateNumber") == self._build_plate_number: - # Singe we walk through all nodes in the scene, they always have a parent. + # Since we walk through all nodes in the scene, they always have a parent. cast(SceneNode, node.getParent()).removeChild(node) break |