Commit: 571f184d35e1f68d7df271196c2a895511fdd5b9
Author: Bastien Montagne
Date:   Thu Mar 6 21:56:32 2014 +0100
https://developer.blender.org/rB571f184d35e1f68d7df271196c2a895511fdd5b9

Fix T39000: Align Objects Axis button is not redraw.

We have to apply button *before* checking others in the ROW, else changes are 
not propagated to them yet.

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

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 079b64f..24aa238 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -728,15 +728,15 @@ static void ui_apply_but_TOG(bContext *C, uiBut *but, 
uiHandleButtonData *data)
 static void ui_apply_but_ROW(bContext *C, uiBlock *block, uiBut *but, 
uiHandleButtonData *data)
 {
        uiBut *bt;
-       
+
        ui_set_but_val(but, but->hardmax);
-       
+
+       ui_apply_but_func(C, but);
+
        /* states of other row buttons */
        for (bt = block->buttons.first; bt; bt = bt->next)
                if (bt != but && bt->poin == but->poin && ELEM(bt->type, ROW, 
LISTROW))
                        ui_check_but(bt);
-       
-       ui_apply_but_func(C, but);
 
        data->retval = but->retval;
        data->applied = true;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to