diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-17 20:15:36 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-17 20:15:36 +0300 |
commit | cefd1b2729b68d07d4a76338bd3ae39740c52b80 (patch) | |
tree | 0a57779bb0dd0ba9a3f712d41d4c627f51dbd137 /source/blender/blenloader | |
parent | 32c95ccae440ac4b4996706743469e4101eac932 (diff) |
Three bugfixes from tracker;
- Nurbs objects didnt render ray-transp. Was caused by 1) wrong normal calc
and 2) quads with vertices on same locations. Solved it with nice code that
checks illegal quads and turns them into triangles
- Made 'physics engine' variable SUMO default
- Typo in toolbox fix; cyclic isn't F but C
Diffstat (limited to 'source/blender/blenloader')
-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 8d1c663d9c9..c67a0282bf1 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4555,9 +4555,15 @@ static void do_versions(Main *main) } if(main->versionfile <= 234) { Scene *sce; + World *wo; bScreen *sc; int set_zbuf_sel=0; + // force sumo engine to be active + for (wo = main->world.first; wo; wo= wo->id.next) { + if(wo->physicsEngine==0) wo->physicsEngine = 2; + } + for (sce= main->scene.first; sce; sce= sce->id.next) { if(sce->selectmode==0) { sce->selectmode= SCE_SELECT_VERTEX; |