diff options
author | Michael Kowalski <makowalski@nvidia.com> | 2022-06-10 17:12:41 +0300 |
---|---|---|
committer | Michael Kowalski <makowalski@nvidia.com> | 2022-06-10 17:15:09 +0300 |
commit | f6268f921ab0777707bf2feb7809aff4cde07c20 (patch) | |
tree | 47bceb1669332d26ef5f99f5625ebe52417e6614 /source/blender/gpencil_modifiers | |
parent | 717ab5aeaecca72faaf9aeae4b469571cc8d4aee (diff) |
USD import: Handle material name collisions
This is a partial fix for T90535.
Added Material Name Collision USD import menu option, to specify
the behavior when USD materials in different namespaces have the
same name.
The Material Name Collision menu options are
- Make Unique: Import each USD material as a unique Blender material.
- Reference Existing: If a material with the same name already
exists, reference that instead of importing.
Previously, the default behavior was to always keep the existing
material. This was causing an issue in the ALab scene, where
dozens of different USD materials all have the same name,
usdpreviewsurface1, so that only one instance of these materials
would be imported.
Reviewed by: Sybren
Differential Revision: https://developer.blender.org/D14869
Diffstat (limited to 'source/blender/gpencil_modifiers')
0 files changed, 0 insertions, 0 deletions