Cleanup: Remove some more code for BVH cache. I missed that somehow.

This commit is contained in:
Thomas Dinges
2015-12-01 18:17:28 +01:00
parent 3526f7a28e
commit e5e1010919

View File

@@ -126,7 +126,6 @@ class SceneParams {
public:
ShadingSystem shadingsystem;
enum BVHType { BVH_DYNAMIC, BVH_STATIC } bvh_type;
bool use_bvh_cache;
bool use_bvh_spatial_split;
bool use_qbvh;
bool persistent_data;
@@ -135,7 +134,6 @@ public:
{
shadingsystem = SHADINGSYSTEM_SVM;
bvh_type = BVH_DYNAMIC;
use_bvh_cache = false;
use_bvh_spatial_split = false;
use_qbvh = false;
persistent_data = false;
@@ -144,7 +142,6 @@ public:
bool modified(const SceneParams& params)
{ return !(shadingsystem == params.shadingsystem
&& bvh_type == params.bvh_type
&& use_bvh_cache == params.use_bvh_cache
&& use_bvh_spatial_split == params.use_bvh_spatial_split
&& use_qbvh == params.use_qbvh
&& persistent_data == params.persistent_data); }