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:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-08-17 08:26:00 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2004-08-17 08:26:00 +0400
commit446e1fae7c14cd4b5035d447c5b011f6fab9e806 (patch)
tree1c9cbf850f59111d6c1d38dfd8ed021934743c94 /source/blender/src/buttons_script.c
parent5a39312392858daafa6b05664a1cc03971f9ca42 (diff)
** Note: two new files added, projectfiles will need an update.
Scripts: Campbell Barton (Ideasman, thanks) updated his Wavefront OBJ importer. BPython: - Finally committed pending contributions: Chris Keith wrote the Blender.Sound module -- still some testing to do this week; Joseph (joeedh) added the OnLoad scene script event; Satish Goda added 6 GLU functions to Blender.BGL. Great additions, thanks all! - Small changes to Blender.Load (leave editmode as Blender wants) and Window.EditMode (allow definition of "undo string"); - Fixed bug #1539: Window.RedrawAll() crashed Blender if an empty spacescript was available while using it in a gui-less script. - doc updates.
Diffstat (limited to 'source/blender/src/buttons_script.c')
-rw-r--r--source/blender/src/buttons_script.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/buttons_script.c b/source/blender/src/buttons_script.c
index 9d769b9d395..9cb4d49769c 100644
--- a/source/blender/src/buttons_script.c
+++ b/source/blender/src/buttons_script.c
@@ -231,10 +231,11 @@ void draw_scriptlink(uiBlock *block, ScriptLink *script, int sx, int sy, int sce
strcpy(str, "FrameChanged%x 1|");
strcat(str, "Redraw%x 4|");
if (scene) {
- strcat(str, "OnLoad%x 2");
+ strcat(str, "OnLoad%x 2|");
+ strcat(str, "OnSave%x 8");
}
- uiDefButS(block, MENU, 1, str, (short)sx, (short)sy, 140, 19, &script->flag[script->actscript-1], 0, 0, 0, 0, "Script links for the Frame changed event");
+ uiDefButS(block, MENU, 1, str, (short)sx, (short)sy, 140, 19, &script->flag[script->actscript-1], 0, 0, 0, 0, "Script links for this event");
uiDefIDPoinBut(block, test_scriptpoin_but, 1, "", (short)(sx+140),(short)sy, 140, 19, &script->scripts[script->actscript-1], "Name of Script to link");
}