From e5e1010919a71f1aa2df9d8157ce68ee676e7dbe Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Tue, 1 Dec 2015 18:17:28 +0100 Subject: Cleanup: Remove some more code for BVH cache. I missed that somehow. --- intern/cycles/render/scene.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'intern/cycles/render/scene.h') diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h index 851e5ac0b72..a1ff6809f67 100644 --- a/intern/cycles/render/scene.h +++ b/intern/cycles/render/scene.h @@ -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); } -- cgit v1.2.3