diff --git a/src/mol-plugin/behavior/dynamic/volume-streaming/behavior.ts b/src/mol-plugin/behavior/dynamic/volume-streaming/behavior.ts index b0d271f709c1fed8e6e610d01ee2842a53f71b6c..b6c8d24376d7b6f49cf5695617c34ed749cf7e36 100644 --- a/src/mol-plugin/behavior/dynamic/volume-streaming/behavior.ts +++ b/src/mol-plugin/behavior/dynamic/volume-streaming/behavior.ts @@ -235,6 +235,8 @@ export namespace VolumeStreaming { }); this.subscribeObservable(this.plugin.managers.structure.focus.behaviors.current, (entry) => { + if (!this.plugin.state.data.tree.children.has(this.ref)) return; + const loci = entry ? entry.loci : EmptyLoci; if (this.params.entry.params.view.name !== 'selection-box') {