Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-07-07 01:18:06 +0400
committerTon Roosendaal <ton@blender.org>2006-07-07 01:18:06 +0400
commita156ecb7f5a047b024ae5238718821a678abd414 (patch)
tree98bc9c584c296df51485f2fb0d5cd3292107a14a /source/blender/blenloader
parenta31ba1edbe93e1e49661df89ccb20b3d06884ad4 (diff)
Two fixes, venomgfx Fraka bird test!
- AO "Use Distances" can not use 'sky texture' for colors, that bug was fixed in UI (prevent settings to combine), but better also gets fixed on reading files. - Backbuf render, when not existed, didn't initialize backdrop color to 0.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index b23dc86a74f..2afcbc85694 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5398,11 +5398,13 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
bArmature *arm;
bNodeTree *ntree;
- /* Migrate to Bullet for games, except for the NaN versions */
- /* People can still explicitely choose for Sumo (after 2.42 is out) */
- if(main->versionfile > 225) {
- for (wo = main->world.first; wo; wo= wo->id.next)
+ for (wo = main->world.first; wo; wo= wo->id.next) {
+ /* Migrate to Bullet for games, except for the NaN versions */
+ /* People can still explicitely choose for Sumo (after 2.42 is out) */
+ if(main->versionfile > 225)
wo->physicsEngine = WOPHY_BULLET;
+ if(WO_AODIST == wo->aomode)
+ wo->aocolor= WO_AOPLAIN;
}
/* updating layers still */