diff options
author | Jaime van Kessel <nallath@gmail.com> | 2015-09-09 10:49:53 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2015-09-09 10:49:53 +0300 |
commit | f1417858c1a08aff6dad6be4099caa42e20a7288 (patch) | |
tree | 40093de97378805a35bb0bb73a129997503be4bb /cura/PlatformPhysics.py | |
parent | 77bda1a7b1e858ecbe1f003f2a822c72f8c5eb01 (diff) |
Merged objects are no longer moved on platform plate
Fixes Ultimaker/Cura#354
Diffstat (limited to 'cura/PlatformPhysics.py')
-rw-r--r-- | cura/PlatformPhysics.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 8b0b641b4e..53e803187f 100644 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -68,8 +68,9 @@ class PlatformPhysics: # Move it downwards if bottom is above platform move_vector = Vector() - if bbox.bottom > 0: - move_vector.setY(-bbox.bottom) + if not (node.getParent() and node.getParent().callDecoration("isGroup")): #If an object is grouped, don't move it down + if bbox.bottom > 0: + move_vector.setY(-bbox.bottom) #if not Float.fuzzyCompare(bbox.bottom, 0.0): # pass#move_vector.setY(-bbox.bottom) |