From f6da680946e2bf982c4831c2135305cb0674215f Mon Sep 17 00:00:00 2001 From: Patrick Mours Date: Mon, 26 Aug 2019 17:29:06 +0200 Subject: Cycles: refactor of BVH building to prepare for Optix Ref D5363 --- intern/cycles/bvh/bvh2.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'intern/cycles/bvh/bvh2.cpp') diff --git a/intern/cycles/bvh/bvh2.cpp b/intern/cycles/bvh/bvh2.cpp index f419d413ef6..b1a9148c297 100644 --- a/intern/cycles/bvh/bvh2.cpp +++ b/intern/cycles/bvh/bvh2.cpp @@ -25,7 +25,10 @@ CCL_NAMESPACE_BEGIN -BVH2::BVH2(const BVHParams ¶ms_, const vector &objects_) : BVH(params_, objects_) +BVH2::BVH2(const BVHParams ¶ms_, + const vector &meshes_, + const vector &objects_) + : BVH(params_, meshes_, objects_) { } -- cgit v1.2.3