Atomic Blender: Get nodes with their types instead of names #104403

Merged
Clemens Barth merged 1 commits from pioverfour/blender-addons:dp_fix_new_mat_issue_atomic into main 2023-02-09 23:02:29 +01:00
Member

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

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
Damien Picard added 1 commit 2023-02-09 21:32:39 +01:00
933b5179c0 Atomic Blender: Get nodes with their types instead of names
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
Damien Picard requested review from Clemens Barth 2023-02-09 21:32:56 +01:00
Clemens Barth merged commit caed9c9da5 into main 2023-02-09 23:02:29 +01:00
Damien Picard deleted branch dp_fix_new_mat_issue_atomic 2023-02-09 23:44:12 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104403
No description provided.