diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-04-11 15:08:57 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-04-11 15:20:41 +0400 |
commit | 15169c71a6cdd819ba1bbdf9f0713082d64d8cdc (patch) | |
tree | 9c0273645eb1755df8d1fce6988197e3a5c235ef /source/blender/blenloader | |
parent | 4f6c218f1942089e949c1dd4dae7df788d821ae2 (diff) |
Blender Internal: remove BLI BVH for raytracing.
It has no benefits over other BVH types, as far as I know it was only added
because it was possible. This also fixes T39344.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 82458e17001..d310c836f59 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -138,6 +138,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) } if (!MAIN_VERSION_ATLEAST(main, 270, 1)) { + Scene *sce; Object *ob; /* Update Transform constraint (another deg -> rad stuff). */ @@ -152,5 +153,11 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) } } } + + for (sce = main->scene.first; sce; sce = sce->id.next) { + if (sce->r.raytrace_structure == R_RAYSTRUCTURE_BLIBVH) { + sce->r.raytrace_structure = R_RAYSTRUCTURE_AUTO; + } + } } } |