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

bugfix: annotation not visible

parent b4c63f49
No related branches found
No related tags found
No related merge requests found
......@@ -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],
]
}
......
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