Fix move tool adding spurious "Move Object" undos in many cases
This commit is contained in:
parent
d2268a35af
commit
4ed9d10174
@ -144,6 +144,9 @@ class MoveTool(EditorTool):
|
||||
# --- Pending imports ---
|
||||
|
||||
def importDidMove(self, newPoint, oldPoint):
|
||||
if self.currentImport is None:
|
||||
return
|
||||
|
||||
if newPoint != oldPoint:
|
||||
command = MoveOffsetCommand(oldPoint, newPoint, self.currentImport)
|
||||
self.editorSession.pushCommand(command)
|
||||
|
Reference in New Issue
Block a user