[Bf-blender-cvs] [2ea03ff8606] sculpt-dev: Remove unused variable

Pablo Dobarro noreply at git.blender.org
Fri Feb 5 21:59:38 CET 2021


Commit: 2ea03ff8606cafdcfd8257a05890f040e42e004e
Author: Pablo Dobarro
Date:   Fri Feb 5 20:31:18 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rB2ea03ff8606cafdcfd8257a05890f040e42e004e

Remove unused variable

===================================================================

M	source/blender/editors/sculpt_paint/sculpt.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list