Fix #104441: Bsurfaces: get modifiers with their type instead of name #104443

Merged
Damien Picard merged 1 commits from pioverfour/blender-addons:dp_fix_104441 into blender-v3.5-release 2023-02-27 22:58:53 +01:00
Member

Using hardcoded names to retrieve materials can result in errors if
the user has enabled UI translation, because the new materials may not
have the expected English names.

Instead, we retrieve the materials using their types (SHRINKWRAP or
SUBSURF, for example).

Using hardcoded names to retrieve materials can result in errors if the user has enabled UI translation, because the new materials may not have the expected English names. Instead, we retrieve the materials using their types (SHRINKWRAP or SUBSURF, for example).
Damien Picard requested review from Vladimir Spivak 2023-02-27 11:59:20 +01:00
Damien Picard changed target branch from main to blender-v3.5-release 2023-02-27 12:03:16 +01:00
Damien Picard force-pushed dp_fix_104441 from 6bbac1c21d to c82b1f3093 2023-02-27 21:58:31 +01:00 Compare
Vladimir Spivak approved these changes 2023-02-27 22:47:33 +01:00
Damien Picard merged commit 8b3c6b7c76 into blender-v3.5-release 2023-02-27 22:58:53 +01:00
Damien Picard deleted branch dp_fix_104441 2023-02-27 22:58:54 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 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#104443
No description provided.