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 <ideasman42@gmail.com>2015-11-03 09:06:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-03 09:06:56 +0300
commitac7abb55d7c8ff0aed19c022e5cb519d93d8ae47 (patch)
tree9d161eae5d4c6f5facf61a946a317cb44972e459 /source/blender/bmesh/operators/bmo_poke.c
parent073ae9c572b64717be254d49688a1bdf8bae8f75 (diff)
Cleanup: use 'const' for BMesh checking funcs
Diffstat (limited to 'source/blender/bmesh/operators/bmo_poke.c')
-rw-r--r--source/blender/bmesh/operators/bmo_poke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_poke.c b/source/blender/bmesh/operators/bmo_poke.c
index 363e395e082..27932a1487c 100644
--- a/source/blender/bmesh/operators/bmo_poke.c
+++ b/source/blender/bmesh/operators/bmo_poke.c
@@ -51,7 +51,7 @@ void bmo_poke_exec(BMesh *bm, BMOperator *op)
const float offset = BMO_slot_float_get(op->slots_in, "offset");
const bool use_relative_offset = BMO_slot_bool_get(op->slots_in, "use_relative_offset");
const int center_mode = BMO_slot_int_get(op->slots_in, "center_mode");
- void (*bm_face_calc_center_fn)(BMFace *f, float r_cent[3]);
+ void (*bm_face_calc_center_fn)(const BMFace *f, float r_cent[3]);
switch (center_mode) {
case BMOP_POKE_MEAN_WEIGHTED: