Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface.c
| Context not available. | |||||
| #endif | #endif | ||||
| UI_but_func_set(but, bfunc, arg, active); | UI_but_func_set(but, bfunc, arg, active); | ||||
| } | } | ||||
| else { | |||||
| UI_but_func_set(but, but->func, but->func_arg1, active); | |||||
| } | |||||
| /* search buttons show red-alert if item doesn't exist, not for menus */ | /* search buttons show red-alert if item doesn't exist, not for menus */ | ||||
| if (0 == (but->block->flag & UI_BLOCK_LOOP)) { | if (0 == (but->block->flag & UI_BLOCK_LOOP)) { | ||||
| Context not available. | |||||