[Bf-blender-cvs] [34ae5bd] master: UI: uiContextActivePropertyHandle wasn't passing the event to the uiBlockHandleFunc

Campbell Barton noreply at git.blender.org
Sat Jun 14 10:45:01 CEST 2014


Commit: 34ae5bd378da79787b869962bd8b3da2ee33a430
Author: Campbell Barton
Date:   Sat Jun 14 18:14:53 2014 +1000
https://developer.blender.org/rB34ae5bd378da79787b869962bd8b3da2ee33a430

UI: uiContextActivePropertyHandle wasn't passing the event to the uiBlockHandleFunc

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

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

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

diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 5f85386..c2deee4 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -6906,7 +6906,7 @@ void uiContextActivePropertyHandle(bContext *C)
 		 * operator redo panel - campbell */
 		uiBlock *block = activebut->block;
 		if (block->handle_func) {
-			block->handle_func(C, block->handle_func_arg, 0);
+			block->handle_func(C, block->handle_func_arg, activebut->retval);
 		}
 	}
 }




More information about the Bf-blender-cvs mailing list