diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-11 12:35:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-11 12:35:16 +0300 |
commit | a62f7422ff9182c5db97accd6ea86c9041139995 (patch) | |
tree | cc1cf73f77f2a39709d5e87701a68ac44a86f888 /source/blender/blenloader | |
parent | 102c5e0ad4db69828efaf66845a00a62a2075fe2 (diff) |
move do_version code under latest subversion bump.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 3b69d73f7bf..febc0228707 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -11489,6 +11489,9 @@ static void do_versions(FileData *fd, Library *lib, Main *main) } if (main->versionfile < 256 || (main->versionfile == 256 && main->subversionfile <3)){ + bScreen *sc; + Brush *brush; + Object *ob; Material *mat; int tex_nr, transp_tex; @@ -11509,15 +11512,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) } } } - } - /* put compatibility code here until next subversion bump */ - - { - bScreen *sc; - Brush *brush; - Object *ob; - /* redraws flag in SpaceTime has been moved to Screen level */ for (sc = main->screen.first; sc; sc= sc->id.next) { if (sc->redraws_flag == 0) { @@ -11546,6 +11541,12 @@ static void do_versions(FileData *fd, Library *lib, Main *main) } } } + + /* put compatibility code here until next subversion bump */ + + { + + } /* WATCH IT!!!: pointers from libdata have not been converted yet here! */ /* WATCH IT 2!: Userdef struct init has to be in editors/interface/resources.c! */ |