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-12-02 05:15:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-02 05:15:52 +0300
commitfc9505c9c5d513bc756f147dff4509a05123dc71 (patch)
tree8350dee688df8b8ed47cde70c90f86417d008924 /source/blender/bmesh/tools/bmesh_path.c
parent5cbf58ce8b5463a0c3296a753c26615c357aca17 (diff)
Cleanup: warnings & spelling
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_path.c')
-rw-r--r--source/blender/bmesh/tools/bmesh_path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_path.c b/source/blender/bmesh/tools/bmesh_path.c
index 1c05b8ae5d4..bc9ab084467 100644
--- a/source/blender/bmesh/tools/bmesh_path.c
+++ b/source/blender/bmesh/tools/bmesh_path.c
@@ -316,10 +316,10 @@ static float facetag_cut_cost(BMFace *f_a, BMFace *f_b, BMEdge *e)
float ix_e[3], ix_f[3], f;
isect_line_line_v3(e->v1->co, e->v2->co, f_a_cent, f_b_cent, ix_e, ix_f);
f = line_point_factor_v3(ix_e, e->v1->co, e->v2->co);
- if (f < 0.0) {
+ if (f < 0.0f) {
copy_v3_v3(e_cent, e->v1->co);
}
- else if (f > 1.0) {
+ else if (f > 1.0f) {
copy_v3_v3(e_cent, e->v2->co);
}
else {