Closed StevenRoger closed 1 year ago
I think I've run into something similar when using the UMD version, since it couldn't find the worker to dynamically import. Are you using the UMD or PWA version?
At that point, what kind of version should i use? And how to fix it?
We have just shipped the segmentation mode which uses brushes if you need. https://ohif.org/release-notes/3p7
Bug Report
Describe the Bug
First, in vtk extension, OHIFVTKViewport.js, init the labelmapDataObject like this:
Second, set the painting to true in View2D.js, vtkPaintWidget will be enabled, so we can stroke sth on the viewport
but strokeBufferPromise never be resolved, I debug into the PaintFilter/index.js,
endStrokePromise also can't be resolved.
I run the react-vtkjs-viewport example, the endStrokePromise works fine, the stokeBuffer can be returned. something wrong in OHIF's dependencies?