Fix move tool adding spurious "Rotate Object" undo entries in some cases
This commit is contained in:
parent
66e9046ee7
commit
d2268a35af
@ -131,7 +131,7 @@ class MoveTool(EditorTool):
|
|||||||
if self.currentImport:
|
if self.currentImport:
|
||||||
if live:
|
if live:
|
||||||
self.currentImportNode.setPreviewRotation(rots)
|
self.currentImportNode.setPreviewRotation(rots)
|
||||||
else:
|
elif rots != self.currentImport.rotation:
|
||||||
command = MoveRotateCommand(self.currentImport.rotation, rots, self.currentImport)
|
command = MoveRotateCommand(self.currentImport.rotation, rots, self.currentImport)
|
||||||
self.editorSession.pushCommand(command)
|
self.editorSession.pushCommand(command)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user