diff options
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index c43c720bad0..6da444bc88e 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -9273,6 +9273,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) World *wo; Object *ob; Material *ma; + Tex *tex; Scene *sce; ToolSettings *ts; int i; @@ -9349,6 +9350,11 @@ static void do_versions(FileData *fd, Library *lib, Main *main) } } + /* texture filter */ + for(tex = main->tex.first; tex; tex = tex->id.next) + if(tex->afmax == 0) + tex->afmax= 8; + for(ma = main->mat.first; ma; ma = ma->id.next) { if(ma->mode & MA_HALO) { ma->material_type= MA_TYPE_HALO; |