diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-26 06:27:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-26 06:27:54 +0300 |
commit | f0863f2a803d63c4bc9e3012a7fb6ceb4c194219 (patch) | |
tree | 58a53050e1827f06f4c6460ad209b3e7f868af44 /source/blender/editors/interface/interface.c | |
parent | 3cbf77b34f7f15c134c8df4d129fe08c0d34d111 (diff) | |
parent | ce531ed1a12edcc51b717cbc12e38e8550e8f979 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index d667a26cc89..8a16b3077d5 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1338,7 +1338,7 @@ static void ui_but_to_pixelrect(rcti *rect, const ARegion *ar, uiBlock *block, u rctf rectf; ui_block_to_window_rctf(ar, block, &rectf, (but) ? &but->rect : &block->rect); - BLI_rcti_rctf_copy(rect, &rectf); + BLI_rcti_rctf_copy_round(rect, &rectf); BLI_rcti_translate(rect, -ar->winrct.xmin, -ar->winrct.ymin); } |