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.
This commit is contained in:
David Vierra 2015-10-01 22:28:37 -10:00
parent 5deb2f2723
commit a5e54c62b5

View File

@ -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: