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
Enabling useCPURendering in app config file breaks the app
Also, when it is enabled, cornerstone will still logs "using GPU rendering" in the console.
This issue is relevant to OHIF v3.8.5, v3.9.1 and v3.10.0-beta.12
Steps to Reproduce
add useCPURendering: true to the app config (e.g. platform/app/public/config/default.js)
Describe the Bug
Enabling useCPURendering in app config file breaks the app
Also, when it is enabled, cornerstone will still logs "using GPU rendering" in the console.
This issue is relevant to OHIF v3.8.5, v3.9.1 and v3.10.0-beta.12
Steps to Reproduce
useCPURendering: true
to the app config (e.g.platform/app/public/config/default.js
)yarn dev
The current behavior
This error shows up:
Context: Route /viewer
Error Message: Cannot destructure property 'direction' of 'metadata' as it is undefined.
Stack: TypeError: Cannot destructure property 'direction' of 'metadata' as it is undefined.
at StackViewport.getCameraCPU (http://localhost:3000/app.js:2623:17)
at evaluate (http://localhost:3000/extensions_cornerstone_src_index_tsx.js:5012:31)
at http://localhost:3000/app.js:134721:55
at Array.map ()
at props.evaluate (http://localhost:3000/app.js:134721:38)
at evaluateButtonProps (http://localhost:3000/app.js:134926:43)
at http://localhost:3000/app.js:134978:48
at Array.map ()
at http://localhost:3000/app.js:134978:36
at Array.reduce ()
The expected behavior
OHIF should load and view selected study instance correctly using CPU renderer.
OS
Windows 11 Enterprise 23H2
Node version
20.11.1
Browser
Chrome 131.0.6778.86, Firefox 133
The text was updated successfully, but these errors were encountered: