[Bf-blender-cvs] [e5e1010] master: Cleanup: Remove some more code for BVH cache. I missed that somehow.
Thomas Dinges
noreply at git.blender.org
Tue Dec 1 18:18:34 CET 2015
Commit: e5e1010919a71f1aa2df9d8157ce68ee676e7dbe
Author: Thomas Dinges
Date: Tue Dec 1 18:17:28 2015 +0100
Branches: master
https://developer.blender.org/rBe5e1010919a71f1aa2df9d8157ce68ee676e7dbe
Cleanup: Remove some more code for BVH cache. I missed that somehow.
===================================================================
M intern/cycles/render/scene.h
===================================================================
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h
index 851e5ac..a1ff680 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); }
More information about the Bf-blender-cvs
mailing list