[Bf-blender-cvs] [2e685136c43] blender2.8: WM: update splash size for templates

Campbell Barton noreply at git.blender.org
Mon Dec 11 02:55:31 CET 2017


Commit: 2e685136c4336bc73428e32215605da7b2a0aa94
Author: Campbell Barton
Date:   Mon Dec 11 12:53:28 2017 +1100
Branches: blender2.8
https://developer.blender.org/rB2e685136c4336bc73428e32215605da7b2a0aa94

WM: update splash size for templates

===================================================================

M	source/blender/windowmanager/intern/wm_operators.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index ad1d0730ad2..7637d222913 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1950,7 +1950,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
 			ibuf_template = IMB_loadiffname(splash_filepath, IB_rect, NULL);
 			if (ibuf_template) {
 				const int x_expect = ibuf->x;
-				const int y_expect = 230 * (int)U.pixelsize;
+				const int y_expect = 282 * (int)U.pixelsize;
 				/* don't cover the header text */
 				if (ibuf_template->x == x_expect && ibuf_template->y == y_expect) {
 					memcpy(ibuf->rect, ibuf_template->rect, ibuf_template->x * ibuf_template->y * sizeof(char[4]));



More information about the Bf-blender-cvs mailing list