[Bf-blender-cvs] [d5aa127] master: Don't show branch name on the splash if it's a release branch

Sergey Sharybin noreply at git.blender.org
Wed Mar 5 18:11:15 CET 2014


Commit: d5aa12742cef1fd2133eeb23226d1a3c6f98ff21
Author: Sergey Sharybin
Date:   Wed Mar 5 23:10:37 2014 +0600
https://developer.blender.org/rBd5aa12742cef1fd2133eeb23226d1a3c6f98ff21

Don't show branch name on the splash if it's a release branch

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

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 36ee5eb..e5f9aae 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1840,7 +1840,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
 	}
 	uiDefBut(block, LABEL, 0, hash_buf, U.pixelsize * 494 - hash_width, U.pixelsize * (270 - label_delta), hash_width, UI_UNIT_Y, NULL, 0, 0, 0, 0, NULL);
 
-	if (!STREQ(build_branch, "master")) {
+	if (!STREQ(build_branch, "master") && !strstr(build_branch, "release")) {
 		char branch_buf[128] = "\0";
 		int branch_width;
 		BLI_snprintf(branch_buf, sizeof(branch_buf), "Branch: %s", build_branch);




More information about the Bf-blender-cvs mailing list