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/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 {