[Bf-blender-cvs] [be9017c3491] temp_bmesh_multires: Fix implicit int error

Joseph Eagar noreply at git.blender.org
Sun Jul 11 12:01:49 CEST 2021


Commit: be9017c349155604e53830c3ebd624c773d94a73
Author: Joseph Eagar
Date:   Sun Jul 11 06:01:39 2021 -0400
Branches: temp_bmesh_multires
https://developer.blender.org/rBbe9017c349155604e53830c3ebd624c773d94a73

Fix implicit int error

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_dyntopo.c b/source/blender/editors/sculpt_paint/sculpt_dyntopo.c
index cb5cf3d131e..bedc86c109a 100644
--- a/source/blender/editors/sculpt_paint/sculpt_dyntopo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_dyntopo.c
@@ -1439,7 +1439,7 @@ static void sculpt_uv_brush_cb(void *__restrict userdata,
   PBVHNode *node = data->nodes[n];
   TableGSet *faces = BKE_pbvh_bmesh_node_faces(node);
   BMFace *f;
-  const cd_uv = CustomData_get_offset(&ss->bm->ldata, CD_MLOOPUV);
+  const int cd_uv = CustomData_get_offset(&ss->bm->ldata, CD_MLOOPUV);
 
   if (cd_uv < 0) {
     return;  // no uv layers



More information about the Bf-blender-cvs mailing list