diff options
author | Johnny Matthews <johnny.matthews@gmail.com> | 2007-06-02 17:46:16 +0400 |
---|---|---|
committer | Johnny Matthews <johnny.matthews@gmail.com> | 2007-06-02 17:46:16 +0400 |
commit | c6158b9293d6c5ea15c323fea44138d3563d1a12 (patch) | |
tree | fc0d3b0ae3384782654b503a1ff887c400793af0 | |
parent | aad39edee7dec4abed99967c2c2cd196f753cdf2 (diff) |
Put declarations at the top of the block to save some compile problems.
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index fd6b5837d15..1b595b1e3fc 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6468,12 +6468,13 @@ static void do_versions(FileData *fd, Library *lib, Main *main) Scene *sce; if(main->versionfile != 244 || main->subversionfile < 2) { + Mesh *me; for(sce= main->scene.first; sce; sce= sce->id.next) sce->r.mode |= R_SSS; /* Copy over old per-level multires vertex data into a single vertex array in struct Multires */ - Mesh *me; + for(me = main->mesh.first; me; me=me->id.next) { if(me->mr) { MultiresLevel *lvl = me->mr->levels.last; |