From 9cb7050681caaf8cc523f3976b914ce06760391d Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 4 Jan 2018 12:54:58 +0100 Subject: [PATCH] Remove unused code CURA-4672 --- cura/PlatformPhysics.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 06d796eed5..e79786dd9c 100755 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -42,7 +42,7 @@ class PlatformPhysics: def _onSceneChanged(self, source): self._change_timer.start() - def _onChangeTimerFinished(self, was_triggered_by_tool=False): + def _onChangeTimerFinished(self): if not self._enabled: return @@ -58,7 +58,6 @@ class PlatformPhysics: # Only check nodes inside build area. nodes = [node for node in nodes if (hasattr(node, "_outside_buildarea") and not node._outside_buildarea)] - active_build_plate = Application.getInstance().getBuildPlateModel().activeBuildPlate random.shuffle(nodes) for node in nodes: @@ -181,4 +180,4 @@ class PlatformPhysics: node.removeDecorator(ZOffsetDecorator.ZOffsetDecorator) self._enabled = True - self._onChangeTimerFinished(True) + self._onChangeTimerFinished()