Skip to content

Commit 7f642a0

Browse files
authored
fix: Stop adding empty labelmap to VTK Viewports for now. Wait until paint tools are implemented (#926)
1 parent 66a0aad commit 7f642a0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

extensions/vtk/src/OHIFVTKViewport.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,11 @@ class OHIFVTKViewport extends Component {
233233
frameIndex
234234
);
235235

236-
if (!labelmap) {
236+
// TODO: Temporarily disabling this since it is not yet
237+
// being used and hurts performance significantly.
238+
/*if (!labelmap) {
237239
labelmap = createLabelMapImageData(data);
238-
}
240+
}*/
239241

240242
const volumeActor = this.getOrCreateVolume(data, displaySetInstanceUid);
241243

0 commit comments

Comments
 (0)