Cleanup: Remove some more code for BVH cache. I missed that somehow.
This commit is contained in:
parent
3526f7a28e
commit
e5e1010919
Notes:
blender-bot
2023-02-14 08:23:01 +01:00
Referenced by issue #46915, strange output from Cycles Vector Curves Node
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue