Skip to content
Snippets Groups Projects
Commit d854d6b8 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: ng-> 3surf color map not loading

parent c55f73fc
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,10 @@ export class LayerCtrlEffects {
this.store.pipe(
select(atlasAppearance.selectors.customLayers),
map(
cl => cl.filter(layer => layer.clType === "baselayer/nglayer" || "customlayer/nglayer")
cl => cl.filter(layer =>
layer.clType === "baselayer/nglayer"
|| layer.clType === "customlayer/nglayer"
)
)
)
),
......
......@@ -431,6 +431,8 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, AfterViewInit
* 3/ select region, hide hemisphere, deselect region
*/
if (!this.colormapInUse) return
if (!this.tsRef) return
const isBaseCM = this.colormapInUse?.clType === "baselayer/colormap"
for (const laterality in this.lateralityMeshRecord) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment