Viewers
Viewers copied to clipboard
[Bug] Segmentation mode - Circle Shape disappears on image
Describe the Bug
found in the OHIF dev env (https://viewer-dev.ohif.org/): 3.8.0-beta.56, Commit hash: 21e8a2bd0b7cc72f90a31e472d285d761be15d30, on a mac + chrome browser
While in segmentation mode, the Circle Shape will disappear after adding it to an image. With the console open, you will see an uncaught error when this happens:
Note: the rectangle & sphere shapes are not an issue as they stay on the image
Steps to Reproduce
- From the study panel select: Neptune and click on the segmentation button = 2x2 grid layout and the segmentation panel is expanded
- Open the developer's console
- From the right-side panel select the + Add Segment verbiage = Segment 1 with a red dot displays
- Select the Shape icon from the Segmentation Tools section and then select the Circle option
- Click on viewport B and create a circle = an uncaught error appears in the console
- Then create a second circle = both circles disappear
- IF the circle remains on the image complete this step...Select the Rectangle option from the shapes and create a rectangle on the same image in viewport B = the circle disappears
The current behavior
Circle shapes for segmentation disappear off of the image and there is an error in the console
The expected behavior
circle segmentation shapes remain on the image
OS
MacBook Pro - Sonoma 14.1.1
Node version
unknown
Browser
Chrome v122