message: volume streaming: ensure current focus is shown upon registering
diff: @@ -235,8 +235,15 @@ export namespace VolumeStreaming {
  });
  this.subscribeObservable(this.plugin.managers.structure.focus.events.changed, () => {
  + this.updateFromFocus()
  + });
  +
  + // ensure current focus is shown if needed upon registering
  + this.updateFromFocus()
  + }
  +
  + private updateFromFocus() {
  const entry = this.plugin.managers.structure.focus.current
  - console.log(entry)
  const loci = entry ? entry.loci : EmptyLoci
  if (this.params.entry.params.view.name !== 'selection-box') {
  @@ -244,7 +251,6 @@ export namespace VolumeStreaming {
  } else {
  this.updateInteraction(loci)
  }
  - });
  }
  private getBoxFromLoci(loci: StructureElement.Loci | EmptyLoci): Box3D {
  