[Bf-blender-cvs] [b6c14437427] blender2.8: Silence warning

Dalai Felinto noreply at git.blender.org
Wed Oct 3 14:06:47 CEST 2018


Commit: b6c14437427160f6361edcbd7efc7041c9112e0b
Author: Dalai Felinto
Date:   Wed Oct 3 12:04:28 2018 +0000
Branches: blender2.8
https://developer.blender.org/rBb6c14437427160f6361edcbd7efc7041c9112e0b

Silence warning

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

M	source/blender/editors/include/ED_mesh.h

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

diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h
index 52e8c4eeace..da6fd1a6b53 100644
--- a/source/blender/editors/include/ED_mesh.h
+++ b/source/blender/editors/include/ED_mesh.h
@@ -172,7 +172,8 @@ struct BMFace *EDBM_face_find_nearest(
 
 bool EDBM_unified_findnearest(
         struct ViewContext *vc,
-        struct Base **bases, uint bases_len,
+        struct Base **bases,
+        const uint bases_len,
         int *r_base_index,
         struct BMVert **r_eve,
         struct BMEdge **r_eed,
@@ -180,7 +181,8 @@ bool EDBM_unified_findnearest(
 
 bool EDBM_unified_findnearest_from_raycast(
         struct ViewContext *vc,
-        struct Base **bases, uint bases_len,
+        struct Base **bases,
+        const uint bases_len,
         bool use_boundary,
         int *r_base_index,
         struct BMVert **r_eve,



More information about the Bf-blender-cvs mailing list