diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-01 01:41:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-01 01:41:06 +0400 |
commit | 5dad1b2bb53ff1a452d1f01b8f464d8d96d884a5 (patch) | |
tree | 120dd9d58f85fa876a3c42e58b8bfd9960d93ef6 /source | |
parent | 2c506fd70c8404852c7b8d1592daf887dcd08576 (diff) |
minor change for high res displays, scale fcurve handles and view3d axis size.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_graph/graph_draw.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index bdf93b98f22..7610f7a9192 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -214,7 +214,7 @@ static void draw_fcurve_vertices_handles(FCurve *fcu, SpaceIpo *sipo, View2D *v2 int i; /* get view settings */ - hsize = UI_GetThemeValuef(TH_HANDLE_VERTEX_SIZE); + hsize = UI_GetThemeValuef(TH_HANDLE_VERTEX_SIZE) * U.pixelsize; UI_view2d_getscale(v2d, &xscale, &yscale); /* set handle color */ diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index a1df2568f73..0a2358aa137 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -592,7 +592,7 @@ static void drawcursor(Scene *scene, ARegion *ar, View3D *v3d) * colors copied from transform_manipulator.c, we should keep these matching. */ static void draw_view_axis(RegionView3D *rv3d, rcti *rect) { - const float k = U.rvisize; /* axis size */ + const float k = U.rvisize * U.pixelsize; /* axis size */ const float toll = 0.5; /* used to see when view is quasi-orthogonal */ float startx = k + 1.0f; /* axis center in screen coordinates, x=y */ float starty = k + 1.0f; |