From be038b844cb53bc228d3e98bfe09071560930cde Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 7 Sep 2022 00:06:31 -0500 Subject: Cleanup: Tweak naming for recently added mesh accessors Use `verts` instead of `vertices` and `polys` instead of `polygons` in the API added in 05952aa94d33eeb50. This aligns better with existing naming where the shorter names are much more common. --- source/blender/modifiers/intern/MOD_meshsequencecache.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_meshsequencecache.cc') diff --git a/source/blender/modifiers/intern/MOD_meshsequencecache.cc b/source/blender/modifiers/intern/MOD_meshsequencecache.cc index bdaa90af5d8..1a41fa4cd3b 100644 --- a/source/blender/modifiers/intern/MOD_meshsequencecache.cc +++ b/source/blender/modifiers/intern/MOD_meshsequencecache.cc @@ -178,12 +178,12 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * } if (me != nullptr) { - const Span mesh_verts = mesh->vertices(); + const Span mesh_verts = mesh->verts(); const Span mesh_edges = mesh->edges(); - const Span mesh_polys = mesh->polygons(); - const Span me_vertices = me->vertices(); + const Span mesh_polys = mesh->polys(); + const Span me_vertices = me->verts(); const Span me_edges = me->edges(); - const Span me_polygons = me->polygons(); + const Span me_polygons = me->polys(); /* TODO(sybren+bastien): possibly check relevant custom data layers (UV/color depending on * flags) and duplicate those too. -- cgit v1.2.3