diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-03 22:48:22 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-03 22:48:22 +0400 |
commit | b03a20d2721c938f0e65bf9a426fd44028c4592a (patch) | |
tree | 21d5a1f1d1bb5924b6cceec5eb1e34c1afea491f /source/blender/src/buttons_script.c | |
parent | 2cc6d565cbc9da005e1c13828c6b3a3d46cd32cb (diff) |
- got rid of silly #define ..._BIT, #define ... (1<<..._BIT) stuff
- switched almost all uiDefBut(..., TOG|BIT|..) to use UiDefButBit and the
name of the actual bit define instead of just a magic constant, this makes
searching the code much nicer. most of the credit here goes to LetterRip
who did almost all of the conversions, I mostly just checked them over.
Diffstat (limited to 'source/blender/src/buttons_script.c')
-rw-r--r-- | source/blender/src/buttons_script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_script.c b/source/blender/src/buttons_script.c index 78041a2e5a3..4d08faacdd3 100644 --- a/source/blender/src/buttons_script.c +++ b/source/blender/src/buttons_script.c @@ -318,7 +318,7 @@ static void script_panel_scriptlink(void) block= uiNewBlock(&curarea->uiblocks, "script_panel_scriptlink", UI_EMBOSS, UI_HELV, curarea->win); if(uiNewPanel(curarea, block, "Scriptlinks", "Script", 0, 0, 318, 204)==0) return; - uiDefButI(block, TOG|BIT|13, REDRAWBUTSSCRIPT, + uiDefButBitI(block, TOG, G_DOSCRIPTLINKS, REDRAWBUTSSCRIPT, "Enable Script Links", xco, 200, 150, 20, &G.f, 0, 0, 0, 0, "Enable execution of all assigned Script links"); /* for proper alignment: */ |