Page MenuHome

Fix input sockets names to make them unique and possible to use as keys

Authored by Maxim Vasiliev (qmax) on Sun, Mar 15, 10:33 PM.


Maniphest Tasks
T74792: Some nodes have ambiguois sockets names

Some nodes has duplicating names of sockets, which might result in ambiguity when using names to subscript inputs.

This patch adds numbers to the names in the same manner as do ShaderNodeMixRGB, ShaderNodeTexBrick, ShaderNodeTexChecker already have.

Diff Detail

Event Timeline

This breaks compatibility for existing .blend files and add-ons. We might tackle this at some point, but that would be for a major release where we can break compatibility and have proper versioning code to preserve existing .blend files as much as possible.

For now it should simple not be considered supported to use socket names as unique keys.