allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
90 stars 7 forks source link

only consider enabled channels when determining if volume is loaded #181

Closed frasercl closed 5 months ago

frasercl commented 5 months ago

Currently, the loaded property of Volume is derived by &&-ing all the loaded properties of the volume's Channels together. But since #173, disabled channels aren't necessarily loaded, causing certain volumes to be persistently marked unloaded when a load is triggered and not all channels are enabled.

This one-line fix considers only channels that we actually expect to load when deriving loaded.