Fix implicit int error

This commit is contained in:
Joseph Eagar 2021-07-11 06:01:39 -04:00
parent 4c2f5b80b7
commit be9017c349
1 changed files with 1 additions and 1 deletions

View File

@ -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