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:
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/bmesh/tools/bmesh_bevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c
index 8a0a5292b7d..346fce1f8e7 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.c
+++ b/source/blender/bmesh/tools/bmesh_bevel.c
@@ -914,7 +914,7 @@ static void math_layer_info_init(BevelParams *bp, BMesh *bm)
*/
static BMFace *choose_rep_face(BevelParams *bp, BMFace **face, int nfaces)
{
- int f, bmf_index, value_index, best_f, i;
+ int bmf_index, value_index, best_f, i;
BMFace *bmf;
float cent[3];
#define VEC_VALUE_LEN 6
@@ -955,7 +955,7 @@ static BMFace *choose_rep_face(BevelParams *bp, BMFace **face, int nfaces)
*/
best_f = -1;
for (value_index = 0; num_viable > 1 && value_index < VEC_VALUE_LEN; value_index++) {
- for (f = 0; f < nfaces; f++) {
+ for (int f = 0; f < nfaces; f++) {
if (!still_viable[f] || f == best_f) {
continue;
}