mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Selection tool operation stoped no longer triggers platform physics
CURA-3465
This commit is contained in:
parent
efce0696bd
commit
de02d331c7
1 changed files with 4 additions and 0 deletions
|
@ -171,6 +171,10 @@ class PlatformPhysics:
|
||||||
self._enabled = False
|
self._enabled = False
|
||||||
|
|
||||||
def _onToolOperationStopped(self, tool):
|
def _onToolOperationStopped(self, tool):
|
||||||
|
# Selection tool should not trigger an update.
|
||||||
|
if tool.getPluginId() == "SelectionTool":
|
||||||
|
return
|
||||||
|
|
||||||
if tool.getPluginId() == "TranslateTool":
|
if tool.getPluginId() == "TranslateTool":
|
||||||
for node in Selection.getAllSelectedObjects():
|
for node in Selection.getAllSelectedObjects():
|
||||||
if node.getBoundingBox().bottom < 0:
|
if node.getBoundingBox().bottom < 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue