Fix ordering of merged PlatformPhysicsOperation

This makes sure we undo the PP operation before the other operation, so
the ordering of operations is still correct.

Contributes to CURA-3912
This commit is contained in:
Arjen Hiemstra 2017-06-13 13:10:59 +02:00
parent 9a54ff426b
commit d44caa281b

View file

@ -23,8 +23,8 @@ class PlatformPhysicsOperation(Operation):
def mergeWith(self, other):
group = GroupedOperation()
group.addOperation(self)
group.addOperation(other)
group.addOperation(self)
return group