Dirty hack to force chunk rescan after revision change

Should inspect changes and update instead of rescanning
This commit is contained in:
David Vierra 2015-06-08 00:39:23 -10:00
parent 278966a256
commit 29b7406c93

View File

@ -338,6 +338,9 @@ class WorldEditor(object):
self.recentDirtyFiles.update(changes.files)
# xxx slow, scan changes for chunks and check if they are added/removed
self._allChunks = None
def getRevisionChanges(self, oldIndex, newIndex):
return self.adapter.getRevisionChanges(oldIndex, newIndex)