diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-01-23 14:39:15 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-01-23 14:39:15 +0300 |
commit | 710e3c162990e3c02958dfdb04ece18170bbcc89 (patch) | |
tree | b16c320034bbdcc4dbb9dcbc5ca6d9fe7c913bec /cura/PlatformPhysics.py | |
parent | f45de9654b04544c3cb34dda37ea4a578de2772d (diff) |
Revert "Simplify check for _outside_buildarea"
This reverts commit 5c8d46b5c2ff27ff32bfc8e27451d3f8764accf8.
Diffstat (limited to 'cura/PlatformPhysics.py')
-rwxr-xr-x | cura/PlatformPhysics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index cf4dd83fef..69890178e4 100755 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -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: |