diff options
author | Chris Blackbourn <chrisbblend@gmail.com> | 2022-08-11 02:20:00 +0300 |
---|---|---|
committer | Chris Blackbourn <chrisbblend@gmail.com> | 2022-08-11 02:20:00 +0300 |
commit | fb7ef40006b938bab25f4bb60d8a23fc9ef2e8dc (patch) | |
tree | c5d969acd754f04facfb5e260fed3af2b45b9808 /source/blender/blenkernel/BKE_mesh_mapping.h | |
parent | e19986482f1fdb546195b97d82ccff4c7ac44804 (diff) |
Cleanup: refactoring uvislands to prepare for python api
Add #bm_uv_ensure_head_table
See also: D15598
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_mapping.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_mapping.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_mapping.h b/source/blender/blenkernel/BKE_mesh_mapping.h index 2bc6289af85..455f42366cc 100644 --- a/source/blender/blenkernel/BKE_mesh_mapping.h +++ b/source/blender/blenkernel/BKE_mesh_mapping.h @@ -71,6 +71,9 @@ typedef struct UvElementMap { /* If Non-NULL, address UvElements by `BM_elem_index_get(BMVert*)`. */ struct UvElement **vertex; + /* If Non-NULL, pointer to local head of each unique UV. */ + struct UvElement **head_table; + /* Number of Islands in the mesh */ int totalIslands; /* Stores the starting index in buf where each island begins */ |