Enabled cool hidden feature from Brecht: "interactive" mode for buttons,
which executes button handling on each change.
Try sliding the current frame, or even: type in values there! Cooool! :)
This commit is contained in:
Ton Roosendaal 2008-12-21 17:44:27 +00:00
parent 4bb20689c5
commit 05aa83ad1e

@ -2865,7 +2865,7 @@ static void button_activate_init(bContext *C, ARegion *ar, uiBut *but, uiButtonA
data= MEM_callocN(sizeof(uiHandleButtonData), "uiHandleButtonData");
data->window= CTX_wm_window(C);
data->region= ar;
data->interactive= 0;
data->interactive= 1;
data->state = BUTTON_STATE_INIT;
/* activate button */