diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-11-09 18:59:16 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-11-09 20:13:03 +0300 |
commit | 1fbb1d8cf6ea9badd3361e4c533625f569d14734 (patch) | |
tree | 60e461e1c61309b28041c38af8499f693bc39340 /tests | |
parent | 11f6c65e61a22ea9423962d6165f54ec29e221a8 (diff) |
Fix T102214: inconsistenty between bake and render with invalid material index
When the materal slot index on mesh faces exceeds the number of slots, rendering
would use the last material slot while other operations like baking would fall
back to the default material.
Now consistently use the last material slot in such cases, since preserving
backwards compatibility for rendering seems most important. And if there is
one material slot, it's more useful to use that one rather than falling back
to the default material.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions