fix [#31378] Face Angle Rounding To Agressive/Not done in 2.49x?
authorCampbell Barton <ideasman42@gmail.com>
Wed, 9 May 2012 15:43:02 +0000 (15:43 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 9 May 2012 15:43:02 +0000 (15:43 +0000)
source/blender/editors/space_view3d/drawobject.c

index 4a42fe9f981d72489cd3e30fcd385b001a9e543c..cf37c06023dce9a013ad2215afd76fccd7b106f7 100644 (file)
@@ -2981,7 +2981,7 @@ static void draw_em_measure_stats(View3D *v3d, Object *ob, BMEditMesh *em, UnitS
                                if ( (BM_elem_flag_test(efa, BM_ELEM_SELECT)) ||
                                     (do_moving && BM_elem_flag_test(loop->v, BM_ELEM_SELECT)))
                                {
-                                       BLI_snprintf(numstr, sizeof(numstr), "%.3g", RAD2DEGF(angle_v3v3v3(v1, v2, v3)));
+                                       BLI_snprintf(numstr, sizeof(numstr), "%.3f", RAD2DEGF(angle_v3v3v3(v1, v2, v3)));
                                        interp_v3_v3v3(fvec, vmid, v2, 0.8f);
                                        view3d_cached_text_draw_add(fvec, numstr, 0, txt_flag, col);
                                }