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:
parent
5deb2f2723
commit
a5e54c62b5
@ -354,9 +354,7 @@ class MoveTool(EditorTool):
|
|||||||
|
|
||||||
def toolInactive(self):
|
def toolInactive(self):
|
||||||
self.editorSession.selectionTool.hideSelectionWalls = False
|
self.editorSession.selectionTool.hideSelectionWalls = False
|
||||||
|
# hide hovers for box handles?
|
||||||
for node in self.pendingImportNodes.itervalues():
|
|
||||||
node.hoverFace(None)
|
|
||||||
|
|
||||||
def confirmImport(self):
|
def confirmImport(self):
|
||||||
if self.currentImport is None:
|
if self.currentImport is None:
|
||||||
|
Reference in New Issue
Block a user