We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6f39d commit 95cc52bCopy full SHA for 95cc52b
Sources/Rendering/OpenGL/VolumeMapper/index.js
@@ -1537,7 +1537,8 @@ function vtkOpenGLVolumeMapper(publicAPI, model) {
1537
useIndependentComps,
1538
numIComps
1539
);
1540
- const reBuildOp = !opTex?.oglObject || opTex.hash !== opacityFuncHash;
+ const reBuildOp =
1541
+ !opTex?.oglObject?.getHandle() || opTex.hash !== opacityFuncHash;
1542
if (reBuildOp) {
1543
const newOpacityTexture = vtkOpenGLTexture.newInstance();
1544
newOpacityTexture.setOpenGLRenderWindow(model._openGLRenderWindow);
0 commit comments