From 446e1fae7c14cd4b5035d447c5b011f6fab9e806 Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Tue, 17 Aug 2004 04:26:00 +0000 Subject: ** 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. --- source/blender/makesdna/DNA_scriptlink_types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/makesdna/DNA_scriptlink_types.h') diff --git a/source/blender/makesdna/DNA_scriptlink_types.h b/source/blender/makesdna/DNA_scriptlink_types.h index 4816c934202..4983fa1d9dd 100644 --- a/source/blender/makesdna/DNA_scriptlink_types.h +++ b/source/blender/makesdna/DNA_scriptlink_types.h @@ -53,8 +53,9 @@ typedef struct ScriptLink { /* **************** SCRIPTLINKS ********************* */ #define SCRIPT_FRAMECHANGED 1 -#define SCRIPT_ONLOAD 2 -#define SCRIPT_REDRAW 4 +#define SCRIPT_ONLOAD 2 +#define SCRIPT_REDRAW 4 +#define SCRIPT_ONSAVE 8 #ifdef __cplusplus } -- cgit v1.2.3