From d2268a35afefe5a2517111ecab4fc7321cb0b714 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 16 Sep 2016 03:58:03 -1000 Subject: [PATCH] Fix move tool adding spurious "Rotate Object" undo entries in some cases --- src/mcedit2/editortools/move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcedit2/editortools/move.py b/src/mcedit2/editortools/move.py index dd7df4b..801e411 100644 --- a/src/mcedit2/editortools/move.py +++ b/src/mcedit2/editortools/move.py @@ -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)