You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we just use the Length tool and do not add the PlanarFreehandROITool, the eraser works as expected. Once both tools have been loaded the error occurs
The current behavior
The annotation is not removed - getting the following error in the console
Uncaught TypeError: interactableAnnotations is not iterable at AnnotationEraserTool._deleteNearbyAnnotations (AnnotationEraserTool.ts:69:32) at AnnotationEraserTool.preMouseDownCallback (AnnotationEraserTool.ts:21:17)
The expected behavior
The annotation is removed and the is no error in the console.log
OS
MacOS 14.4.1
Node version
20.12.1
Browser
Brave 1.65.114
UPDATE
It looks as is const interactableAnnotations = loops through from the PlanarFreehandROITool but returns undefined as the annotation is from the Length tool, therefore causing the 'not iterable' error. If I add a freehand and a length annotation, the eraser tool works as expected.
The text was updated successfully, but these errors were encountered:
Describe the Bug
The Eraser Tool is not working
Steps to Reproduce
If we just use the Length tool and do not add the PlanarFreehandROITool, the eraser works as expected. Once both tools have been loaded the error occurs
The current behavior
The annotation is not removed - getting the following error in the console
Uncaught TypeError: interactableAnnotations is not iterable at AnnotationEraserTool._deleteNearbyAnnotations (AnnotationEraserTool.ts:69:32) at AnnotationEraserTool.preMouseDownCallback (AnnotationEraserTool.ts:21:17)
The expected behavior
The annotation is removed and the is no error in the console.log
OS
MacOS 14.4.1
Node version
20.12.1
Browser
Brave 1.65.114
UPDATE
It looks as is const interactableAnnotations = loops through from the PlanarFreehandROITool but returns undefined as the annotation is from the Length tool, therefore causing the 'not iterable' error. If I add a freehand and a length annotation, the eraser tool works as expected.
The text was updated successfully, but these errors were encountered: