Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Edwards <s.edwards@ultimaker.com>2016-05-21 15:17:58 +0300
committerSimon Edwards <s.edwards@ultimaker.com>2016-05-21 15:17:58 +0300
commitd1f68143a4ca346f6441832127cca26d6c8fbaad (patch)
tree1ba99761e43052baec83073e004f97b0ce7f9007 /cura/PlatformPhysics.py
parenta109396c0d3006b3c1b12175b5039df9a4a0ded4 (diff)
Adjustments to support immutable AxisAlignedBox.
Contributes to CURA-1504
Diffstat (limited to 'cura/PlatformPhysics.py')
-rw-r--r--cura/PlatformPhysics.py4
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.