[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47772] branches/soc-2012-bratwurst/source /blender/editors/interface/interface_handlers.c: Don' t lose the return value from this call to ui_handle_button_event

Jorge Rodriguez bs.vino at gmail.com
Tue Jun 12 08:35:29 CEST 2012


Revision: 47772
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47772
Author:   vino
Date:     2012-06-12 06:35:12 +0000 (Tue, 12 Jun 2012)
Log Message:
-----------
Don't lose the return value from this call to ui_handle_button_event

Modified Paths:
--------------
    branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c

Modified: branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c	2012-06-12 06:22:23 UTC (rev 47771)
+++ branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c	2012-06-12 06:35:12 UTC (rev 47772)
@@ -6558,7 +6558,7 @@
 				if (data->menu->menuretval)
 					ui_handle_button_return_submenu(C, event, but);
 				else
-					ui_handle_button_event(C, event, but);
+					retval = ui_handle_button_event(C, event, but);
 			}
 			/* If the menu keeps the input but wants an update anyway... */
 			else if (retval == WM_UI_HANDLER_BREAK && data->menu->menuretval == UI_RETURN_UPDATE)




More information about the Bf-blender-cvs mailing list