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>2004-01-24 15:18:35 +0300
committerTon Roosendaal <ton@blender.org>2004-01-24 15:18:35 +0300
commit38c0f593a8c767109351af15202626f5896d1471 (patch)
treefabf3a944b332ccdc86f787a08e2b2bca1e6fc03 /source/blender/blenloader
parent95e05852027d282ca5e5f0a72b2b3d9b36951367 (diff)
- moved declaration of new variable up; in plain C you cannot do that
in the middle of code, only after a "{". :)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 99d0a9df7ee..a73d5faca49 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3931,6 +3931,7 @@ static void do_versions(Main *main)
}
if(main->versionfile <= 231) {
Material *ma= main->mat.first;
+ bScreen *sc = main->screen.first;
Scene *sce;
Lamp *la;
World *wrld;
@@ -3977,7 +3978,7 @@ static void do_versions(Main *main)
}
/* new bit flags for showing/hiding grid floor and axes */
- bScreen *sc = main->screen.first;
+
while(sc) {
ScrArea *sa= sc->areabase.first;
while(sa) {