viewer small fixes

This commit is contained in:
cristi8
2021-11-15 19:16:32 +02:00
parent 5de4f381c6
commit 21a4cfee87
4 changed files with 17 additions and 5 deletions
@@ -169,6 +169,7 @@ export default class SceneObjects {
this.objectsInScene = this.allObjects
} else {
// A filter is to be applied
this.filteringManager.initFilterOperation()
let newFilteredObjects = new THREE.Group()
newFilteredObjects.name = 'FilteredObjects'
@@ -204,6 +205,8 @@ export default class SceneObjects {
this.appliedFilter = filter
this.viewer.needsRender = true
return { colorLegend: this.filteringManager.colorLegend }
}
async groupSolidObjects( threejsGroup ) {