I have written a script that connects and deconnects meshes to a mesh group from a GUI.
When I run the scrip and activates a mesh (a checkbox in my gui) I can see the connection being created between the nodes but the connected mesh does not show up in the render.
I have tried
It restarts the render but the mesh does not show up.
renderingNode = octane.render.getRenderTargetNode()
But that did not help either.
I also tried to do
but that did not help either.
What do I have to do to get the render to update and show the connected meshes.