Skip to content

Commit

Permalink
fix - serializedAnnotationsList wasn't being constructed for segmentF…
Browse files Browse the repository at this point in the history
…ilteredSources
  • Loading branch information
chrisj committed Jan 5, 2024
1 parent cf22bac commit 1f3f734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/neuroglancer/annotation/frontend_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ export class MultiscaleAnnotationSource extends SharedObject implements
const {serializedAnnotations} = data;
const length = serializedAnnotations.typeToIds.reduce(
(sum, idsOfType) => sum + idsOfType.length, 0);
serializedAnnotationsList.push(serializedAnnotations);
listOffsets.push(currentLength);
currentLength += length;
}
Expand Down

0 comments on commit 1f3f734

Please sign in to comment.