Removed cache invalidation

This commit is contained in:
AlexandruPopovici
2023-06-20 12:31:10 +03:00
parent 0b29aa1c13
commit 7ce82d2caa
2 changed files with 0 additions and 6 deletions
-2
View File
@@ -488,7 +488,6 @@ export class Viewer extends EventEmitter implements IViewer {
if (zoomToObject) this.zoom()
this.speckleRenderer.resetPipeline(true)
this.filteringManager.invalidateCache()
this.emit(ViewerEvent.LoadComplete, url)
this.loaders[url].dispose()
delete this.loaders[url]
@@ -518,7 +517,6 @@ export class Viewer extends EventEmitter implements IViewer {
this.speckleRenderer.resetPipeline(true)
this.emit(ViewerEvent.LoadComplete, url)
}
this.filteringManager.invalidateCache()
this.loaders[url].dispose()
delete this.loaders[url]
if (--this.inProgressOperations === 0)
@@ -600,10 +600,6 @@ export class FilteringManager extends EventEmitter {
this.idCache[key] = allIds
return allIds
}
public invalidateCache() {
this.idCache = {}
}
}
enum Command {