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:
authorCampbell Barton <ideasman42@gmail.com>2008-02-11 15:01:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-11 15:01:14 +0300
commitf33faa8f5f1c37bad5e906f29429ab3278183505 (patch)
tree63f7d0aebcd343317fd073242159108ef3a59dbb /source/blender/makesdna/DNA_scriptlink_types.h
parentc5c53b0f2df4d9eeae6564fa3e2e500bef2d8d15 (diff)
python scriptlink for ObjectUpdate and ObDataUpdate, Redraw events are not practice in many real world cases, this can give more specific updates.
Discussed with Caedes, Brecht and Ton, can rework if needed.
Diffstat (limited to 'source/blender/makesdna/DNA_scriptlink_types.h')
-rw-r--r--source/blender/makesdna/DNA_scriptlink_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scriptlink_types.h b/source/blender/makesdna/DNA_scriptlink_types.h
index 8a08d3f12c1..a21c67fc5e8 100644
--- a/source/blender/makesdna/DNA_scriptlink_types.h
+++ b/source/blender/makesdna/DNA_scriptlink_types.h
@@ -61,6 +61,9 @@ typedef struct ScriptLink {
* RENDER script links for clean-up actions */
#define SCRIPT_POSTRENDER 32
+#define SCRIPT_OBJECTUPDATE 64
+#define SCRIPT_OBDATAUPDATE 128
+
/* **************** SPACE HANDLERS ********************* */
/* these are special scriptlinks that can be assigned to
* a given space in a given ScrArea to: