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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user