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:
authorTon Roosendaal <ton@blender.org>2006-12-07 17:32:38 +0300
committerTon Roosendaal <ton@blender.org>2006-12-07 17:32:38 +0300
commite14f6084e57b1320b5557afb13e14ff5b33d3cc4 (patch)
tree524131f44aaaee035ae1dd8009c34c8cf64c5f99 /source/blender/src/outliner.c
parent17231f83f37be4890c4067caa72d4957207975b0 (diff)
Fix in outliner code: var declaration on wrong place (gcc won't warn!)
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r--source/blender/src/outliner.c2
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);