mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-16 15:35:05 +00:00

Using hardcoded names to retrieve nodes can result in errors if the user has enabled UI translation, because the new nodes may not have the expected English names. Instead, we retrieve the nodes using their types (BSDF_PRINCIPLED or OUTPUT_MATERIAL). Ref blender/blender#104145 Co-authored-by: Damien Picard <dam.pic@free.fr> Pull Request #104403