[Bf-blender-cvs] [6ee9d1b] master: error in recent commit

Campbell Barton noreply at git.blender.org
Thu Feb 13 00:13:59 CET 2014


Commit: 6ee9d1b69db0064abb03d74dbc365cf860a3c3d9
Author: Campbell Barton
Date:   Thu Feb 13 10:13:33 2014 +1100
https://developer.blender.org/rB6ee9d1b69db0064abb03d74dbc365cf860a3c3d9

error in recent commit

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

M	source/blender/editors/interface/interface_regions.c

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

diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c
index fadfe09..0dc1008 100644
--- a/source/blender/editors/interface/interface_regions.c
+++ b/source/blender/editors/interface/interface_regions.c
@@ -2059,7 +2059,7 @@ static unsigned int ui_popup_menu_hash(const char *str)
 static uiBut *ui_popup_menu_memory__internal(uiBlock *block, uiBut *but)
 {
 	static unsigned int mem[256];
-	static bool first = false;
+	static bool first = true;
 
 	const unsigned int hash = block->puphash;
 	const unsigned int hash_mod = hash & 255;




More information about the Bf-blender-cvs mailing list