fix: Stop adding empty labelmap to VTK Viewports for now. Wait until paint tools are implemented (#926)
This commit is contained in:
parent
66a0aadcce
commit
7f642a05da
@ -233,9 +233,11 @@ class OHIFVTKViewport extends Component {
|
||||
frameIndex
|
||||
);
|
||||
|
||||
if (!labelmap) {
|
||||
// TODO: Temporarily disabling this since it is not yet
|
||||
// being used and hurts performance significantly.
|
||||
/*if (!labelmap) {
|
||||
labelmap = createLabelMapImageData(data);
|
||||
}
|
||||
}*/
|
||||
|
||||
const volumeActor = this.getOrCreateVolume(data, displaySetInstanceUid);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user