mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix moving objects through bottom.
This commit is contained in:
parent
612bb39680
commit
cbbf62106d
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ class PlatformPhysics:
|
||||||
# Ignore intersections with the bottom
|
# Ignore intersections with the bottom
|
||||||
build_volume_bounding_box = self._build_volume.getBoundingBox()
|
build_volume_bounding_box = self._build_volume.getBoundingBox()
|
||||||
if build_volume_bounding_box:
|
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:
|
else:
|
||||||
# No bounding box. This is triggered when running Cura from command line with a model for the first time
|
# 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.
|
# In that situation there is a model, but no machine (and therefore no build volume.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue