Skip to content
Snippets Groups Projects
Commit e67c610b authored by David Sehnal's avatar David Sehnal
Browse files

mol-plugin: fix Volume streaming when clearing state

parent 96aa0037
No related branches found
No related tags found
No related merge requests found
...@@ -235,6 +235,8 @@ export namespace VolumeStreaming { ...@@ -235,6 +235,8 @@ export namespace VolumeStreaming {
}); });
this.subscribeObservable(this.plugin.managers.structure.focus.behaviors.current, (entry) => { 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; const loci = entry ? entry.loci : EmptyLoci;
if (this.params.entry.params.view.name !== 'selection-box') { if (this.params.entry.params.view.name !== 'selection-box') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment