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:
authorJack Ha <j.ha@ultimaker.com>2016-07-20 14:25:05 +0300
committerJack Ha <j.ha@ultimaker.com>2016-07-20 14:25:05 +0300
commitcbbf62106d90ac154384f62d3eb45797cf93c9d3 (patch)
tree3016b869ce29f96d746838e86f0016bc65eb493c /cura/PlatformPhysics.py
parent612bb39680bf763931236e09c0d352a2003812c1 (diff)
Fix moving objects through bottom.
Diffstat (limited to 'cura/PlatformPhysics.py')
-rw-r--r--cura/PlatformPhysics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py
index 23de74b80e..d2a848dd72 100644
--- a/cura/PlatformPhysics.py
+++ b/cura/PlatformPhysics.py
@@ -50,7 +50,8 @@ class PlatformPhysics:
# Ignore intersections with the bottom
build_volume_bounding_box = self._build_volume.getBoundingBox()
if build_volume_bounding_box:
- build_volume_bounding_box.set(bottom=-9001)
+ # It's over 9000!
+ build_volume_bounding_box = build_volume_bounding_box.set(bottom=-9001)
else:
# No bounding box. This is triggered when running Cura from command line with a model for the first time
# In that situation there is a model, but no machine (and therefore no build volume.