From 2ea03ff8606cafdcfd8257a05890f040e42e004e Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Fri, 5 Feb 2021 20:31:18 +0100 Subject: [PATCH] Remove unused variable --- source/blender/editors/sculpt_paint/sculpt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index ae9d681f298..856e36bd643 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -10529,7 +10529,6 @@ float *SCULPT_geodesic_distances_create(Object *ob, const float limit_radius) { SculptSession *ss = ob->sculpt; - const int totvert = SCULPT_vertex_count_get(ss); switch (BKE_pbvh_type(ss->pbvh)) { case PBVH_FACES: return SCULPT_geodesic_mesh_create(ob, initial_vertices, limit_radius);