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-10-17 08:06:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-17 08:06:45 +0300
commiteb49a76dcaa18ef6bf2667b3671913ca9ccf31e7 (patch)
tree1f8c0a98d887707d679d07049b90545cece49ff2 /source/blender/editors/mesh/editmesh_knife.c
parent3d69ef240e29194cb1be9d48591e5b411152632b (diff)
Cleanup: warnings
- remove NULL checks for args already set as ATTR_NONNULL. - double promotion.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index cdbb62e8526..621155bc696 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -2116,7 +2116,7 @@ static float snap_v2_angle(float r[2], const float v[2], const float v_ref[2], f
normalize_v2_v2(v_unit, v);
angle = angle_signed_v2v2(v_unit, v_ref);
- angle_delta = (round(angle / angle_snap) * angle_snap) - angle;
+ angle_delta = (roundf(angle / angle_snap) * angle_snap) - angle;
rotate_m2(m2, angle_delta);
mul_v2_m2v2(r, m2, v);