[Bf-blender-cvs] [5b8fe8324b6] blender2.8: Fix render info not working with overlap regions
Dalai Felinto
noreply at git.blender.org
Wed May 30 15:45:47 CEST 2018
Commit: 5b8fe8324b647e6b64225de1bbb61d286cbca52a
Author: Dalai Felinto
Date: Wed May 30 15:45:34 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5b8fe8324b647e6b64225de1bbb61d286cbca52a
Fix render info not working with overlap regions
===================================================================
M source/blender/editors/screen/area.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list