-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Describe the Bug
When viewing a study using a hanging protocol with a 3D volume viewport, attempting to hydrate an RSTRUCT is not successful and an exception is thrown. The problem does NOT appear to be study specific, but a general problem.
Maybe #5266 is related, but launching a 3D volume HP when the RT is already hydrated appears to work ok. The only thing might be that the contours are not visible in the 3D volume viewport.
Steps to Reproduce
See the video...
ScreenHunter.Dec.16.10.22.mp4
The current behavior
The following exception is thrown and the RTSTRUCT does NOT hydrate as expected - some viewports show the contours, others not so much.
TypeError: Cannot read properties of undefined (reading 'points')
at https://viewer-dev.ohif.org/7431.bundle.4713909b8c30f5f97d1f.js:2:648748
at Array.map (<anonymous>)
at c (7431.bundle.4713909b8c30f5f97d1f.js:2:648442)
at Module.B (7431.bundle.4713909b8c30f5f97d1f.js:2:650284)
at async Object.render (7412.bundle.de73c323fff02c4238dc.js:1:503563)
The expected behavior
No exception. Hydration happens and contours appears in each viewport - if not immediately then after some time once any calculations have been performed.
System Information
System:
OS: Windows 10 10.0.26200
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 6.84 GB / 31.68 GB
Binaries:
Node: 23.9.0 - ~\AppData\Local\fnm_multishells\52784_1765830696412\node.EXE
Yarn: 1.22.22 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 10.9.2 - ~\AppData\Local\fnm_multishells\52784_1765830696412\npm.CMD
Browsers:
Edge: Spartan (20.9.0), Chromium (20.9.0), ChromiumDev (20.9.0)
Internet Explorer: 11.0.26100.7309
Chrome: 143.0.7499.110