-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Describe the Bug
See title
Steps to Reproduce
- Add contour segments
- Delete one
- Click Undo and then redo
20260202-1821-09.7926804.mp4
The current behavior
On redo a toast message is displayed and the contours are not added back to the image or side panel
TypeError: Cannot read properties of undefined (reading 'locked')
at a (7412.bundle.9637bbf06b48a3fa371d.js:1:587368)
at Object.restoreMemo (4019.bundle.c2488b3d766f3b93c04c.js:1:32931)
at ne.redo (app.bundle.e8a6bec0ee550b663c99.js:2:778919)
at redo (3081.bundle.807cde3f3dea37df1122.js:1:257696)
at Be.runCommand (app.bundle.e8a6bec0ee550b663c99.js:2:1096965)
at Be.run (app.bundle.e8a6bec0ee550b663c99.js:2:1097656)
at onClick (9195.bundle.46a1b7d6a0a4927b3c6d.js:1:45770)
at Object.Le (app.bundle.e8a6bec0ee550b663c99.js:2:5115116)
at je (app.bundle.e8a6bec0ee550b663c99.js:2:5115270)
at https://viewer-dev.ohif.org/app.bundle.e8a6bec0ee550b663c99.js:2:5135132
The expected behavior
Contours added back without error
System Information
System:
OS: Windows 11 10.0.26100
CPU: (14) x64 Intel(R) Core(TM) Ultra 7 265U
Memory: 13.25 GB / 31.46 GB
Browsers:
Chrome: 144.0.7559.110
Edge: Chromium (140.0.3485.54)