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
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-06-01 00:48:50 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-01 00:58:48 +0300
commita4bb1a58811c205adf71672e391091bbe7416bef (patch)
tree201a057fda540445ee86656f5311eca42e021616 /source/blender/editors
parent995fa1f4c0b1dc746b0978033b41984a653784e4 (diff)
Fix render engine info region when overlap and header on bottom
Note there is some talk about changing the position of this (which would be strange in the image editor by the way, since there we use the bottom for the result of the current pixel when dragging the mouse). However first I wanted to fix this regardless.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/screen/area.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 7e3764e0f04..874e5a32da3 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -2258,7 +2258,7 @@ void ED_region_info_draw_multiline(ARegion *ar, const char *text_array[], float
}
}
- rect.ymin = BLI_rcti_size_y(&rect) - header_height * num_lines;
+ rect.ymin = rect.ymax - header_height * num_lines;
/* setup scissor */
glGetIntegerv(GL_SCISSOR_BOX, scissor);