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

This commit is contained in:
Erik Ziegler authored and GitHub committed 2019-09-19 13:59:50 +02:00
1 parent 66a0aadcce
commit 7f642a05da
1 file changed
+4 -2
+4 -2
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);