[Bf-blender-cvs] [09e394583e4] sculpt-dev: Sculpt Expand: Silence warning

Pablo Dobarro noreply at git.blender.org
Sun Feb 21 19:59:43 CET 2021


Commit: 09e394583e41efa479d739603c0aaf1b75e8c56f
Author: Pablo Dobarro
Date:   Sun Feb 21 19:33:53 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rB09e394583e41efa479d739603c0aaf1b75e8c56f

Sculpt Expand: Silence warning

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_geodesic.c b/source/blender/editors/sculpt_paint/sculpt_geodesic.c
index 27dfe97cdbf..2bcf72b0cf8 100644
--- a/source/blender/editors/sculpt_paint/sculpt_geodesic.c
+++ b/source/blender/editors/sculpt_paint/sculpt_geodesic.c
@@ -215,7 +215,7 @@ static float *SCULPT_geodesic_mesh_create(Object *ob,
               for (int ei = 0; ei < ss->vemap[v_other].count; ei++) {
                 const int e_other = ss->vemap[v_other].indices[ei];
                 int ev_other;
-                if (edges[e_other].v1 == v_other) {
+                if (edges[e_other].v1 == (uint)v_other) {
                   ev_other = edges[e_other].v2;
                 }
                 else {



More information about the Bf-blender-cvs mailing list