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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-06 07:41:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-06 07:42:31 +0300
commitf5daa58242a1b42fea7a15039968499318978842 (patch)
tree205a0ba4d2957ade98566699c8dd8baf5b894b0a /source
parentfeb3c74a05f114556fe2339cf96912c7bf7b60f0 (diff)
Fix ruler angle arc displaying past endpoints
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_ruler.c2
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));