Continuing the discussion from Multiply texture UV:
So I was working on variable nodes, but it seems like, due to a limitation of the Blender API, I am unable to dynamically hide/show socket inputs and outputs of a node based on the GUI elements in the node. You can only show/hide the sockets based on a button click, not a checkbox or an enum field. I think this kind of defeats the purpose of the variable node, but I also think that variables need to be more intuitive. Anybody have any ideas?
This was my WIP string variable node:
The design above was the attempt to combine the get, set, and variable name into one node ( with these features being inherited for every value node ). The In and Out sockets were only supposed to appear when you were in Set Variable mode, but I couldn’t get that to work. Maybe I’m over thinking this…