Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2015-12-01 20:17:28 +0300
committerThomas Dinges <blender@dingto.org>2015-12-01 20:17:28 +0300
commite5e1010919a71f1aa2df9d8157ce68ee676e7dbe (patch)
treec1032c22b218852c75b28eedebf916b48c078b56 /intern/cycles/render/scene.h
parent3526f7a28ee45d3af418b10ccc735edaae2542ed (diff)
Cleanup: Remove some more code for BVH cache. I missed that somehow.
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r--intern/cycles/render/scene.h3
1 files changed, 0 insertions, 3 deletions
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); }