diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-08 13:02:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-08 13:02:47 +0400 |
commit | be5ef51b731655b5c0473ea5601d7a6b5e6b8e3f (patch) | |
tree | e7ea16a1ab939aed9ee0f73efe6ec98c0f511327 /source/blender/editors/space_view3d/drawobject.c | |
parent | 23dfb8a156c8e6a11cdd27c0e789008b008b0c0c (diff) |
use some more logical BLI math functions & tracking used INT_MAX on a short.
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 4809e463d75..f2bd4b51d94 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -2561,7 +2561,7 @@ static void draw_em_measure_stats(View3D *v3d, RegionView3D *rv3d, Object *ob, E copy_v3_v3(v1, eed->v1->co); copy_v3_v3(v2, eed->v2->co); - interp_v3_v3v3(vmid, v1, v2, 0.5f); + mid_v3_v3v3(vmid, v1, v2); if(do_global) { mul_mat3_m4_v3(ob->obmat, v1); |