fix: Stop adding empty labelmap to VTK Viewports for now. Wait until paint tools are implemented (#926)

This commit is contained in:
Erik Ziegler 2019-09-19 13:59:50 +02:00 committed by GitHub
parent 66a0aadcce
commit 7f642a05da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);