Upgrading the mathematical node for vectors (the name on the screenshots is “working”, the original node will be updated).
I tried to change the type / name of the output value, but got the following conclusions:
- the socket type or name cannot be changed for an existing output parameter;
- clearing all the output parameters array (
self.outputs.clear()
) in thedraw_buttons()
function results in the following errors (I believe these are Blender problems, tried different options to get rid of the bug):
As a result, I propose the following modernization options:
- Socket *Shader:
- Or two outputs:
- Well, and a variant with a separator for the output vector (for two outputs):
What do you think?
Update: add number option.