Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/buttons_script.c')
-rw-r--r--source/blender/src/buttons_script.c2
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: */