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:
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r--intern/cycles/render/scene.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h
index a1ff6809f67..74976c1513c 100644
--- a/intern/cycles/render/scene.h
+++ b/intern/cycles/render/scene.h
@@ -125,7 +125,12 @@ public:
class SceneParams {
public:
ShadingSystem shadingsystem;
- enum BVHType { BVH_DYNAMIC, BVH_STATIC } bvh_type;
+ enum BVHType {
+ BVH_DYNAMIC = 0,
+ BVH_STATIC = 1,
+
+ BVH_NUM_TYPES,
+ } bvh_type;
bool use_bvh_spatial_split;
bool use_qbvh;
bool persistent_data;