Skip to content
Snippets Groups Projects
Unverified Commit 3944c784 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #1308 from FZJ-INM1-BDA/fix_annotationsSpcId

bugfix: fix annotation space bug
parents 97e0aebd e167e9b2
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
- fsaverage on change variant, showing multiple meshes
- fsaverage erroneous URL encoding of selected region
- some annotations no longe rwork properly
## Behind the scenes
......
......@@ -14,7 +14,7 @@ export const spaceFilteredAnnotations = createSelector(
selectStore,
atlasSelectionSelectors.selectStore,
(annState, atlasSelState) => annState.annotations.filter(ann => {
const spaceId = atlasSelState.selectedTemplate['@id']
const spaceId = atlasSelState.selectedTemplate.id
if (ann['openminds']) {
return (ann as Annotation<'openminds'>).openminds.coordinateSpace['@id'] === spaceId
}
......
......@@ -68,7 +68,7 @@ type THandleCustomMouseEv = {
latLblIdxReg: TLatIdxReg
meshVisibility: {
label: string
visible: boolean,
visible: boolean
mesh: TThreeGeometry
}[]
}
......@@ -170,7 +170,7 @@ export class ThreeSurferGlueCmp implements IViewer<'threeSurfer'>, AfterViewInit
map(v => {
const returnVal: {
label: string
visible: boolean,
visible: boolean
mesh: TThreeGeometry
}[] = []
for (const lat in v) {
......
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