Merge branch 'master' into blender2.8
[blender.git] / source / blender / bmesh / intern / bmesh_mesh_conv.c
index 9f1b032ea0b13b8072cace64f483b757c52e1d98..e7ee1d45dc31f8124661a28ce2a9ed8f3aa77411 100644 (file)
@@ -193,7 +193,7 @@ static BMFace *bm_face_create_from_mpoly(
  * \warning This function doesn't calculate face normals.
  */
 void BM_mesh_bm_from_me(
-        BMesh *bm, Mesh *me,
+        BMesh *bm, const Mesh *me,
         const struct BMeshFromMeshParams *params)
 {
        const bool is_new =