diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-07 17:32:38 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-07 17:32:38 +0300 |
commit | e14f6084e57b1320b5557afb13e14ff5b33d3cc4 (patch) | |
tree | 524131f44aaaee035ae1dd8009c34c8cf64c5f99 | |
parent | 17231f83f37be4890c4067caa72d4957207975b0 (diff) |
Fix in outliner code: var declaration on wrong place (gcc won't warn!)
-rw-r--r-- | source/blender/src/outliner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index c0b83eed71f..a5bea95943e 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -531,8 +531,8 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i outliner_add_element(soops, &te->subtree, sce->world, te, 0, 0); if(sce->scriptlink.scripts) { - tenla= outliner_add_element(soops, &te->subtree, sce, te, TSE_SCRIPT_BASE, 0); int a= 0; + tenla= outliner_add_element(soops, &te->subtree, sce, te, TSE_SCRIPT_BASE, 0); tenla->name= "Scripts"; for (a=0; a<sce->scriptlink.totscript; a++) { outliner_add_element(soops, &tenla->subtree, sce->scriptlink.scripts[a], tenla, 0, 0); |