From 6f305577b346030249bdb762f887136ff02624e3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 28 Mar 2022 12:29:47 +1100 Subject: Cleanup: use "num" as a suffix in: source/blender/modifiers Also rename DNA struct members. --- source/blender/editors/curve/editcurve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/curve/editcurve.c') diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 5ff63e767f6..38c14391273 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -1209,7 +1209,7 @@ static void remap_hooks_and_vertex_parents(Main *bmain, Object *obedit) old_to_new_map = init_index_map(obedit, &old_totvert); } - for (i = j = 0; i < hmd->totindex; i++) { + for (i = j = 0; i < hmd->indexar_num; i++) { if (hmd->indexar[i] < old_totvert) { index = old_to_new_map[hmd->indexar[i]]; if (index != -1) { @@ -1221,7 +1221,7 @@ static void remap_hooks_and_vertex_parents(Main *bmain, Object *obedit) } } - hmd->totindex = j; + hmd->indexar_num = j; } } } -- cgit v1.2.3