diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-05-30 16:45:34 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-05-30 16:45:40 +0300 |
commit | 5b8fe8324b647e6b64225de1bbb61d286cbca52a (patch) | |
tree | cb43123d2e7a96d81829a01accea328dc8a51ea9 | |
parent | 38957c183885e8dc3d8d0df4103b8d9c6cddae7c (diff) |
Fix render info not working with overlap regions
-rw-r--r-- | source/blender/editors/screen/area.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 9605f1d15cc..f2ecf3d5ea2 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -2242,8 +2242,7 @@ void ED_region_info_draw_multiline(ARegion *ar, const char *text_array[], float } } - rect.ymin = BLI_rcti_size_y(&ar->winrct) - header_height * num_lines; - rect.ymax = BLI_rcti_size_y(&ar->winrct); + rect.ymin = BLI_rcti_size_y(&rect) - header_height * num_lines; /* setup scissor */ glGetIntegerv(GL_SCISSOR_BOX, scissor); |