Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Blackbourn <chrisbblend@gmail.com>2022-08-11 02:20:00 +0300
committerChris Blackbourn <chrisbblend@gmail.com>2022-08-11 02:20:00 +0300
commitfb7ef40006b938bab25f4bb60d8a23fc9ef2e8dc (patch)
treec5d969acd754f04facfb5e260fed3af2b45b9808 /source/blender/blenkernel/BKE_mesh_mapping.h
parente19986482f1fdb546195b97d82ccff4c7ac44804 (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.h3
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 */