[Bf-blender-cvs] [7d2f27244c2] master: Cleanup: clang tidy
Jacques Lucke
noreply at git.blender.org
Wed Mar 3 12:23:13 CET 2021
Commit: 7d2f27244c2ccf89b7c02ffab05f533cad1d88d5
Author: Jacques Lucke
Date: Wed Mar 3 12:17:48 2021 +0100
Branches: master
https://developer.blender.org/rB7d2f27244c2ccf89b7c02ffab05f533cad1d88d5
Cleanup: clang tidy
Can use const parameter.
===================================================================
M source/blender/editors/sculpt_paint/sculpt_expand.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_expand.c b/source/blender/editors/sculpt_paint/sculpt_expand.c
index 2d1d973221a..db6d33c2700 100644
--- a/source/blender/editors/sculpt_paint/sculpt_expand.c
+++ b/source/blender/editors/sculpt_paint/sculpt_expand.c
@@ -375,7 +375,7 @@ static BLI_bitmap *sculpt_expand_bitmap_from_enabled(SculptSession *ss, ExpandCa
* vertex that is not enabled.
*/
static BLI_bitmap *sculpt_expand_boundary_from_enabled(SculptSession *ss,
- BLI_bitmap *enabled_vertices,
+ const BLI_bitmap *enabled_vertices,
const bool use_mesh_boundary)
{
const int totvert = SCULPT_vertex_count_get(ss);
More information about the Bf-blender-cvs
mailing list