diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-07-09 18:56:00 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-07-09 18:56:56 +0300 |
commit | 6778949e0114ab4bb6c157c03948f86b13b73ea2 (patch) | |
tree | c244a817044283dd3a7760737423e1dd1ae6d0a1 /intern/libc_compat/libc_compat.c | |
parent | 7b1c406b5431ce65d84ddb5f2c53977c25c18373 (diff) |
Fix repeated Face Sets IDs when joining meshes
As Face Sets IDs start from 0 and increase by 1 each time a new face set
is created in a mesh, when joining multiple meshes it could happen that
the same ID is used by several unrelated areas in multiple objects. This
checks the Face Sets IDs when joining meshes and ensures that they are
not repeated between different objects when joining them, so in the
resulting mesh all previous face sets will have different IDs.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D8224
Diffstat (limited to 'intern/libc_compat/libc_compat.c')
0 files changed, 0 insertions, 0 deletions