Fix move tool adding spurious "Rotate Object" undo entries in some cases

This commit is contained in:
David Vierra 2016-09-16 03:58:03 -10:00
parent 66e9046ee7
commit d2268a35af

View File

@ -131,7 +131,7 @@ class MoveTool(EditorTool):
if self.currentImport:
if live:
self.currentImportNode.setPreviewRotation(rots)
else:
elif rots != self.currentImport.rotation:
command = MoveRotateCommand(self.currentImport.rotation, rots, self.currentImport)
self.editorSession.pushCommand(command)