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 e4eacd7 commit bb6f39dCopy full SHA for bb6f39d
Sources/Rendering/OpenGL/VolumeMapper/index.js
@@ -1672,9 +1672,9 @@ function vtkOpenGLVolumeMapper(publicAPI, model) {
1672
model._colorTextureCore = colorTransferFunc;
1673
1674
// rebuild scalarTextures?
1675
- model.currentValidInputs.forEach(({ imageData }, component) => {
+ model.currentValidInputs.forEach(({ imageData, inputIndex }, component) => {
1676
// rebuild the scalarTexture if the data has changed
1677
- const volumeProperty = volumeProperties[component];
+ const volumeProperty = volumeProperties[inputIndex];
1678
const scalars = imageData.getPointData().getScalars();
1679
const tex =
1680
model._openGLRenderWindow.getGraphicsResourceForObject(scalars);
0 commit comments