I am trying to mimic the inputs of the merge node. In the merge node if you have three inputs and disconnect the middle input then you can see in the “Input Operators” that the you will only see three inputs.
If I create a simple subnet with just nulls in the inside and connect three inputs and disconnect the middle input, you will see a blank “None” input in the “Input Operators”.
I used OnInputChanged event handler to disconnect and reconnect all inputs whenever input contains a None item but Houdini crash constantly in the most recent production build 18.0.416! So I used another method to this issue: Place a Python SOP inside your digital asset with this code:
N-G I used onInputChanged signal to disconnect and reconnect all inputs whenever input contains a None item but Houdini crash constantly in the most recent production build 18.0.416!
Ah. This crashes as it calls an infinite recursion. The OnInputChanged script gets called again as the the input is set during the loop. I get why it does that but I'm curious if there is a way to prevent the OnInputChanged from calling itself or any event calling another event.
Ah. This crashes as it calls an infinite recursion. The OnInputChanged script gets called again as the the input is set during the loop. I get why it does that but I'm curious if there is a way to prevent the OnInputChanged from calling itself or any event calling another event.