mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:19:04 +08:00
Revert "Simplify check for _outside_buildarea"
This reverts commit 5c8d46b5c2ff27ff32bfc8e27451d3f8764accf8.
This commit is contained in:
parent
f45de9654b
commit
710e3c1629
@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Copyright (c) 2015 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from PyQt5.QtCore import QTimer
|
||||
@ -57,7 +57,7 @@ class PlatformPhysics:
|
||||
nodes = list(BreadthFirstIterator(root))
|
||||
|
||||
# Only check nodes inside build area.
|
||||
nodes = [node for node in nodes if getattr(node, "_outside_buildarea", False)]
|
||||
nodes = [node for node in nodes if (hasattr(node, "_outside_buildarea") and not node._outside_buildarea)]
|
||||
|
||||
random.shuffle(nodes)
|
||||
for node in nodes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user