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. --- .../editors/space_spreadsheet/spreadsheet_data_source_geometry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_spreadsheet') diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc index 3c79e66f436..61782186402 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc +++ b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc @@ -169,7 +169,7 @@ std::unique_ptr GeometryDataSource::get_column_values( const MeshComponent &component = static_cast(*component_); if (const Mesh *mesh = component.get_for_read()) { const Span edges = mesh->edges(); - const Span polys = mesh->polygons(); + const Span polys = mesh->polys(); const Span loops = mesh->loops(); if (domain_ == ATTR_DOMAIN_EDGE) { -- cgit v1.2.3