diff --git a/Sources/Rendering/SceneGraph/ViewNode/index.js b/Sources/Rendering/SceneGraph/ViewNode/index.js index c1ac0198c5b..1ac64ab03b6 100644 --- a/Sources/Rendering/SceneGraph/ViewNode/index.js +++ b/Sources/Rendering/SceneGraph/ViewNode/index.js @@ -139,6 +139,10 @@ function vtkViewNode(publicAPI, model) { if (cindex === -1) { child.setParent(publicAPI); model.children.push(child); + const childRenderable = child.getRenderable(); + if (childRenderable) { + model._renderableChildMap.set(childRenderable, child); + } } child.setVisited(true); }