diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-11-30 13:38:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-11-30 13:38:59 +0300 |
commit | a4c17c7c88dfdb1f4694a70f9be4639fe892e43b (patch) | |
tree | 132e48dbb2a7aeb45c99e59a160f283b79deddfe /source/blender/blenloader/intern | |
parent | 04a009b047e13f6696b6780419b1561ef29c9854 (diff) |
anim.c, buttons_object.c, readfile.c, BKE_blender.h - dupliFace scale option, needed for leaves.
modifier.c, BKE_modifier.h - flag for modifiers to say they use pointcache, also new func modifiers_usesPointCache
renamed //pointcache to //blendcache_blendfilename so blendfiles in the same dir dont conflict, and other to show this dir isnt limited to pointcache only (nodes way want to use this)
wizard_curve2tree.py - better defaults for pretty tree's
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index ff2a4edab9d..1e947e56711 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -7180,6 +7180,17 @@ static void do_versions(FileData *fd, Library *lib, Main *main) if(ma->mtex[a] && ma->mtex[a]->tex) ma->mtex[a]->normapspace = MTEX_NSPACE_TANGENT; } + + if ((main->versionfile < 245) || (main->versionfile == 245 && main->subversionfile < 10)) { + Object *ob; + /* dupliface scale */ + for(ob= main->object.first; ob; ob= ob->id.next) { + ob->dupfacesca = 1.0f; + } + + } + + /* WATCH IT!!!: pointers from libdata have not been converted yet here! */ /* WATCH IT 2!: Userdef struct init has to be in src/usiblender.c! */ |