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.
This commit is contained in:
2014-04-11 13:08:57 +02:00
parent 4f6c218f19
commit 15169c71a6
7 changed files with 8 additions and 175 deletions

View File

@@ -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;
}
}
}
}