Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-03-16 15:42:29 +0300
committerJaime van Kessel <nallath@gmail.com>2017-03-16 15:42:29 +0300
commitde02d331c7c1ea57880f89e1419ca63ee1856caa (patch)
treeaee2ba1bad6523773615ce784b3179b2ab94601e /cura/PlatformPhysics.py
parentefce0696bd60aecbe9ad54ce3eb8c2f4d0324ad6 (diff)
Selection tool operation stoped no longer triggers platform physics
CURA-3465
Diffstat (limited to 'cura/PlatformPhysics.py')
-rw-r--r--cura/PlatformPhysics.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py
index 0bd7009ac8..42ea26f153 100644
--- a/cura/PlatformPhysics.py
+++ b/cura/PlatformPhysics.py
@@ -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: