[Bf-blender-cvs] [9e61e8a2d5a] cycles_embree: Cycles: Made things compile with Embree disabled.
Stefan Werner
noreply at git.blender.org
Tue Oct 30 14:13:56 CET 2018
Commit: 9e61e8a2d5a85252d098bec836585c10d8e784ca
Author: Stefan Werner
Date: Tue Oct 30 09:13:53 2018 -0400
Branches: cycles_embree
https://developer.blender.org/rB9e61e8a2d5a85252d098bec836585c10d8e784ca
Cycles: Made things compile with Embree disabled.
===================================================================
M intern/cycles/bvh/bvh.cpp
===================================================================
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp
index 4cfd769533e..271f90fd1e6 100644
--- a/intern/cycles/bvh/bvh.cpp
+++ b/intern/cycles/bvh/bvh.cpp
@@ -102,7 +102,9 @@ BVH *BVH::create(const BVHParams& params, const vector<Object*>& objects)
case BVH_LAYOUT_BVH8:
return new BVH8(params, objects);
case BVH_LAYOUT_EMBREE:
+#ifdef WITH_EMBREE
return new BVHEmbree(params, objects);
+#endif
case BVH_LAYOUT_NONE:
case BVH_LAYOUT_ALL:
break;
More information about the Bf-blender-cvs
mailing list