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:
authorMatt Ebb <matt@mke3.net>2009-11-11 08:03:49 +0300
committerMatt Ebb <matt@mke3.net>2009-11-11 08:03:49 +0300
commitbf50cc8b3991f2705f3db0f7a1fb5b4b52e4cbef (patch)
treec014b34b4491d0805416fdc06fdc989992b975c5 /source/blender/makesdna/DNA_node_types.h
parent792c4d602db232f2c0027f4e7d2d15ef4370b5f7 (diff)
Added compositing node support to the animation editors
Now when nodes are keyed, they will show up in the dopesheet/graph editor/etc in a new 'Nodetree' category. Still a major problem left, nodes need unique names in order for the rna paths to hold animation data properly...
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index 73ff7432577..9d80f7f720e 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -177,6 +177,8 @@ typedef struct bNodeTree {
int stacksize; /* amount of elements in stack */
int cur_index; /* sockets in groups have unique identifiers, adding new sockets always
will increase this counter */
+ int flag, pad;
+
ListBase alltypes; /* type definitions */
struct bNodeType *owntype; /* for groups or dynamic trees, no read/write */
@@ -201,6 +203,9 @@ typedef struct bNodeTree {
#define NTREE_TYPE_INIT 1
#define NTREE_EXEC_INIT 2
+/* ntree->flag */
+#define NTREE_DS_EXPAND 1 /* for animation editors */
+
/* data structs, for node->storage */
/* this one has been replaced with ImageUser, keep it for do_versions() */