diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-13 18:11:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-13 18:11:02 +0400 |
commit | 7edd4f93f162ea86730b65fda6a6b858f7121c34 (patch) | |
tree | 95c0fbb387439ede0f169066a56098957f568f46 /source/blender/blenloader | |
parent | 46a673c2957dade00da91381a56ed9352fe9b923 (diff) |
add missing break in ocean_texture switch statement & quiet some warnings.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 9e3feedc5d9..53df4bbecfa 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -11861,9 +11861,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) /* put compatibility code here until next subversion bump */ if (main->versionfile < 255 || (main->versionfile == 255 && main->subversionfile < 3)) { Object *ob; - Tex *tex; - - + /* ocean res is now squared, reset old ones - will be massive */ for(ob = main->object.first; ob; ob = ob->id.next) { ModifierData *md; |