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-08 02:47:30 +0300
committerChris Blackbourn <chrisbblend@gmail.com>2022-08-08 08:18:15 +0300
commitbb8488c62c9ae5a62e46c50d9e3a69d413c28ded (patch)
tree81cf8743149657ee9ae9c4fbc8d80f7545666bb0 /source/blender/editors/sculpt_paint
parent9b924b2a23b5e50cd3f02c2acfb575c70235d9ce (diff)
Cleanup: refactoring uvislands to prepare for python api
Rename vert -> vertex. Add `BM_uv_element_get_head`. See also: D15598
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_uv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c
index a36b0fddeb6..f2017e68b4c 100644
--- a/source/blender/editors/sculpt_paint/sculpt_uv.c
+++ b/source/blender/editors/sculpt_paint/sculpt_uv.c
@@ -549,7 +549,7 @@ static UvSculptData *uv_sculpt_stroke_init(bContext *C, wmOperator *op, const wm
int counter = -1;
/* initialize the unique UVs */
for (int i = 0; i < bm->totvert; i++) {
- UvElement *element = data->elementMap->vert[i];
+ UvElement *element = data->elementMap->vertex[i];
for (; element; element = element->next) {
if (element->separate) {
if (do_island_optimization && (element->island != island_index)) {