diff options
author | Simon Edwards <s.edwards@ultimaker.com> | 2016-05-21 15:17:58 +0300 |
---|---|---|
committer | Simon Edwards <s.edwards@ultimaker.com> | 2016-05-21 15:17:58 +0300 |
commit | d1f68143a4ca346f6441832127cca26d6c8fbaad (patch) | |
tree | 1ba99761e43052baec83073e004f97b0ce7f9007 /cura/PlatformPhysics.py | |
parent | a109396c0d3006b3c1b12175b5039df9a4a0ded4 (diff) |
Adjustments to support immutable AxisAlignedBox.
Contributes to CURA-1504
Diffstat (limited to 'cura/PlatformPhysics.py')
-rw-r--r-- | cura/PlatformPhysics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 55cc3652e1..57d8f4e0ba 100644 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -50,8 +50,8 @@ class PlatformPhysics: bbox = node.getBoundingBox() - build_volume_bounding_box = copy.deepcopy(self._build_volume.getBoundingBox()) - build_volume_bounding_box.setBottom(-9001) # Ignore intersections with the bottom + # Ignore intersections with the bottom + build_volume_bounding_box = self._build_volume.getBoundingBox().set(bottom=-9001) node._outside_buildarea = False # Mark the node as outside the build volume if the bounding box test fails. |