Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-01-07 03:38:08 +0300
committerCampbell Barton <campbell@blender.org>2022-01-07 06:16:26 +0300
commit3d3bc748849834ef74563deb603ab43859cffeeb (patch)
treede74ce4722b2cb032c22dbc090a15dd2e172c29b /source/blender/bmesh/tools/bmesh_bevel.h
parentbb69c19f08ac681d4386325e4318ebfbef2e9531 (diff)
Cleanup: remove redundant const qualifiers for POD types
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_bevel.h')
-rw-r--r--source/blender/bmesh/tools/bmesh_bevel.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.h b/source/blender/bmesh/tools/bmesh_bevel.h
index 03c10ee9f80..56533e83c39 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.h
+++ b/source/blender/bmesh/tools/bmesh_bevel.h
@@ -36,25 +36,25 @@ struct MDeformVert;
* \warning all tagged edges _must_ be manifold.
*/
void BM_mesh_bevel(BMesh *bm,
- const float offset,
- const int offset_type,
- const int profile_type,
- const int segments,
- const float profile,
- const bool affect_type,
- const bool use_weights,
- const bool limit_offset,
+ float offset,
+ int offset_type,
+ int profile_type,
+ int segments,
+ float profile,
+ bool affect_type,
+ bool use_weights,
+ bool limit_offset,
const struct MDeformVert *dvert,
- const int vertex_group,
- const int mat,
- const bool loop_slide,
- const bool mark_seam,
- const bool mark_sharp,
- const bool harden_normals,
- const int face_strength_mode,
- const int miter_outer,
- const int miter_inner,
- const float spread,
- const float smoothresh,
+ int vertex_group,
+ int mat,
+ bool loop_slide,
+ bool mark_seam,
+ bool mark_sharp,
+ bool harden_normals,
+ int face_strength_mode,
+ int miter_outer,
+ int miter_inner,
+ float spread,
+ float smoothresh,
const struct CurveProfile *custom_profile,
- const int vmesh_method);
+ int vmesh_method);