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-07 07:11:47 +0300
committerChris Blackbourn <chrisbblend@gmail.com>2022-08-07 07:11:47 +0300
commite441e21d74f9b1d28a5384ac14386e1465035b35 (patch)
tree1e0d14246ee5720655d170771c519c23c9409ccc /source/blender/editors/uvedit/uvedit_ops.c
parent8b51bd61fd20fca6654de74f7e4c304cebd6bc5b (diff)
Cleanup: refactoring uvislands to prepare for python api
See also: D15598
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_ops.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 5ebdfcec294..67c80f5bdfd 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -543,7 +543,7 @@ static bool uvedit_uv_straighten(Scene *scene, BMesh *bm, eUVWeldAlign tool)
bool changed = false;
/* Loop backwards to simplify logic. */
- int j1 = element_map->totalUVs;
+ int j1 = element_map->total_uvs;
for (int i = element_map->totalIslands - 1; i >= 0; --i) {
int j0 = element_map->islandIndices[i];
changed |= uvedit_uv_straighten_elements(