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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-03-07 17:47:41 +0300
committerTon Roosendaal <ton@blender.org>2006-03-07 17:47:41 +0300
commit9ce587e2117dcb2340d75c4bfa2b6e3c1135254c (patch)
treee15fce4f3892d95ddb49869816e5e3c2a56f7310 /source
parent800e6400dceb680c6e1aac77ce545ae2b0c9155a (diff)
Quickfix: appending scenes from a file, won't expand the other scenes
when used in a compositor node... this is quite useless, and invokes importing all data.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index cfd3e4a195f..31dfa93d4c5 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5613,7 +5613,7 @@ static void expand_nodetree(FileData *fd, Main *mainvar, bNodeTree *ntree)
bNode *node;
for(node= ntree->nodes.first; node; node= node->next)
- if(node->id)
+ if(node->id && node->type!=CMP_NODE_R_RESULT)
expand_doit(fd, mainvar, node->id);
}