From 2e0c114af7aa1d975c40020c6931a3ab0f03c584 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Thu, 15 Jul 2021 15:05:58 +0200 Subject: [PATCH] bugfix: annotation not visible --- src/atlasComponents/userAnnotations/tools/service.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/atlasComponents/userAnnotations/tools/service.ts b/src/atlasComponents/userAnnotations/tools/service.ts index 6652adb9c..a9c800005 100644 --- a/src/atlasComponents/userAnnotations/tools/service.ts +++ b/src/atlasComponents/userAnnotations/tools/service.ts @@ -453,10 +453,11 @@ export class ModularUserAnnotationToolService implements OnDestroy{ ModularUserAnnotationToolService.ANNOTATION_LAYER_NAME, { ...ModularUserAnnotationToolService.USER_ANNOTATION_LAYER_SPEC, + // since voxel coordinates are no longer defined, so voxel size will always be 1/1/1 transform: [ - [1/voxelSize[0], 0, 0, 0], - [0, 1/voxelSize[1], 0, 0], - [0, 0, 1/voxelSize[2], 0], + [1, 0, 0, 0], + [0, 1, 0, 0], + [0, 0, 1, 0], [0, 0, 0, 1], ] } -- GitLab