Selection tool operation stoped no longer triggers platform physics

CURA-3465
This commit is contained in:
Jaime van Kessel 2017-03-16 13:42:29 +01:00
parent efce0696bd
commit de02d331c7

View file

@ -171,6 +171,10 @@ class PlatformPhysics:
self._enabled = False
def _onToolOperationStopped(self, tool):
# Selection tool should not trigger an update.
if tool.getPluginId() == "SelectionTool":
return
if tool.getPluginId() == "TranslateTool":
for node in Selection.getAllSelectedObjects():
if node.getBoundingBox().bottom < 0: