diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-06 04:18:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-06 04:18:01 +0400 |
commit | a9fb70754f5dc5e5a0deaf0b5b8e99de8f78938e (patch) | |
tree | 8f2736a07ce8f84b1c226c689010157464ac9c78 /source/blender/bmesh/operators/bmo_mirror.c | |
parent | 2638728bd22d682e38d7eac2eb0a4b85edd3ff39 (diff) |
avoid using function calls in macros that result in multiple function calls.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_mirror.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_mirror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_mirror.c b/source/blender/bmesh/operators/bmo_mirror.c index c6b228b988e..937601712b0 100644 --- a/source/blender/bmesh/operators/bmo_mirror.c +++ b/source/blender/bmesh/operators/bmo_mirror.c @@ -88,7 +88,7 @@ void bmo_mirror_exec(BMesh *bm, BMOperator *op) v = BM_iter_new(&iter, bm, BM_VERTS_OF_MESH, NULL); for (i = 0; i < ototvert; i++) { - if (ABS(v->co[axis]) <= dist) { + if (fabsf(v->co[axis]) <= dist) { BMO_slot_map_ptr_insert(bm, &weldop, "targetmap", vmap[i], v); } v = BM_iter_step(&iter); |