[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28102] trunk/blender/source/blender/ editors/interface/interface_regions.c: Fix [#21529] Operator.report() has inconsistent behaviour with newlines

Matt Ebb matt at mke3.net
Fri Apr 9 09:00:35 CEST 2010


Revision: 28102
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28102
Author:   broken
Date:     2010-04-09 09:00:27 +0200 (Fri, 09 Apr 2010)

Log Message:
-----------
Fix [#21529] Operator.report() has inconsistent behaviour with newlines

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/interface_regions.c

Modified: trunk/blender/source/blender/editors/interface/interface_regions.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_regions.c	2010-04-09 04:57:50 UTC (rev 28101)
+++ trunk/blender/source/blender/editors/interface/interface_regions.c	2010-04-09 07:00:27 UTC (rev 28102)
@@ -2095,13 +2095,13 @@
 		pup->mx= window->eventstate->x;
 		pup->my= window->eventstate->y;
 		pup->popup= 1;
+		pup->block->flag |= UI_BLOCK_NO_FLIP;
 	}
 
 	if(str) {
 		/* menu is created from a string */
 		pup->menu_func= ui_block_func_MENUSTR;
 		pup->menu_arg= str;
-		// XXX pup->block->flag |= UI_BLOCK_NO_FLIP;
 	}
 	else {
 		/* menu is created from a callback */





More information about the Bf-blender-cvs mailing list