Merged objects are no longer moved on platform plate

Fixes Ultimaker/Cura#354
This commit is contained in:
Jaime van Kessel 2015-09-09 09:49:53 +02:00
parent 77bda1a7b1
commit f1417858c1
2 changed files with 4 additions and 3 deletions

View file

@ -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)