Fix undoBackward returning the wrong RevisionChanges
This commit is contained in:
parent
0f7488f88a
commit
bc50b9c039
@ -716,7 +716,7 @@ class EditorSession(QtCore.QObject):
|
||||
|
||||
def undoBackward(self):
|
||||
self.worldEditor.undo()
|
||||
changes = self.worldEditor.getRevisionChanges(self.currentRevision-1, self.currentRevision)
|
||||
changes = self.worldEditor.getRevisionChanges(self.currentRevision, self.currentRevision+1)
|
||||
self.revisionChanged.emit(changes)
|
||||
|
||||
def gotoRevision(self, index):
|
||||
|
Reference in New Issue
Block a user