From a5e54c62b5b6661fb2ff3a14899661ae1a9fadef Mon Sep 17 00:00:00 2001 From: David Vierra Date: Thu, 1 Oct 2015 22:28:37 -1000 Subject: [PATCH] Refactor drag-to-move out of MoveTool and into BoxHandle. This is a bit icky - PendingImportNode emits a signal that MoveTool handles by moving the "current import", instead of by moving the PendingImportNode's import. TODO: Give CloneTool the same treatment. --- src/mcedit2/editortools/move.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mcedit2/editortools/move.py b/src/mcedit2/editortools/move.py index febe30c..1376035 100644 --- a/src/mcedit2/editortools/move.py +++ b/src/mcedit2/editortools/move.py @@ -354,9 +354,7 @@ class MoveTool(EditorTool): def toolInactive(self): self.editorSession.selectionTool.hideSelectionWalls = False - - for node in self.pendingImportNodes.itervalues(): - node.hoverFace(None) + # hide hovers for box handles? def confirmImport(self): if self.currentImport is None: