diff options
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r-- | intern/cycles/render/scene.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h index 94fbbc44d1d..d657e48e478 100644 --- a/intern/cycles/render/scene.h +++ b/intern/cycles/render/scene.h @@ -18,6 +18,7 @@ #define __SCENE_H__ #include "image.h" +#include "shader.h" #include "device_memory.h" @@ -121,7 +122,7 @@ public: class SceneParams { public: ShadingSystem shadingsystem; - BVHType bvh_type; + enum BVHType { BVH_DYNAMIC, BVH_STATIC } bvh_type; bool use_bvh_cache; bool use_bvh_spatial_split; bool use_qbvh; @@ -129,7 +130,7 @@ public: SceneParams() { - shadingsystem = SVM; + shadingsystem = SHADINGSYSTEM_SVM; bvh_type = BVH_DYNAMIC; use_bvh_cache = false; use_bvh_spatial_split = false; |