diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-06 07:41:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-06 07:42:31 +0300 |
commit | f5daa58242a1b42fea7a15039968499318978842 (patch) | |
tree | 205a0ba4d2957ade98566699c8dd8baf5b894b0a /source/blender/editors | |
parent | feb3c74a05f114556fe2339cf96912c7bf7b60f0 (diff) |
Fix ruler angle arc displaying past endpoints
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_ruler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_ruler.c b/source/blender/editors/space_view3d/view3d_ruler.c index 012f71c10ba..f51b47032aa 100644 --- a/source/blender/editors/space_view3d/view3d_ruler.c +++ b/source/blender/editors/space_view3d/view3d_ruler.c @@ -485,7 +485,7 @@ static void ruler_info_draw_pixel(const struct bContext *C, ARegion *ar, void *a float quat[4]; float axis[3]; float angle; - const float px_scale = (ED_view3d_pixel_size(rv3d, ruler_item->co[1]) * + const float px_scale = (ED_view3d_pixel_size_no_ui_scale(rv3d, ruler_item->co[1]) * min_fff(arc_size, len_v2v2(co_ss[0], co_ss[1]) / 2.0f, len_v2v2(co_ss[2], co_ss[1]) / 2.0f)); |