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>2013-01-21 22:45:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-21 22:45:31 +0400
commitd760a86927a45d31244603e7642ca87a5e23991f (patch)
tree2fd3d0d95a1778a1b29d2c8347124fb09eb4c6bf /source/blender/bmesh/intern
parent709a86a8d96825069820dca4b68da5739bcd791c (diff)
code cleanup: minor changes, replace len_v3 with len_squared_v3 for comparison.
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index 62bd2649cd4..5c3d164c768 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -319,7 +319,7 @@ void poly_rotate_plane(const float normal[3], float (*verts)[3], const int nvert
if (angle < FLT_EPSILON)
return;
- if (len_v3(axis) < FLT_EPSILON) {
+ if (len_squared_v3(axis) < FLT_EPSILON) {
axis[0] = 0.0f;
axis[1] = 1.0f;
axis[2] = 0.0f;