diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-12-03 13:23:38 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-12-03 13:23:38 +0300 |
commit | b440fe1611f9799e40c736d8b3e8bbc4ef5f0a01 (patch) | |
tree | 2fd73e8f62a0e4b227523e1ca9beec92d79f782a /source | |
parent | 42970d81fce4b0bba7aab74277cf281bd0cda2eb (diff) |
Fix for one of the issues in #20230: Comp Nodes animations not saving to .blend
AnimData was not getting written to files for Node Trees.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index b2147221f9f..2bfc726b7c7 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -475,6 +475,8 @@ static void write_nodetree(WriteData *wd, bNodeTree *ntree) /* for link_list() speed, we write per list */ + if(ntree->adt) write_animdata(wd, ntree->adt); + for(node= ntree->nodes.first; node; node= node->next) writestruct(wd, DATA, "bNode", 1, node); |