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/bvh/bvh.h')
-rw-r--r--intern/cycles/bvh/bvh.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/cycles/bvh/bvh.h b/intern/cycles/bvh/bvh.h
index be390f8a673..19ebf7f68ba 100644
--- a/intern/cycles/bvh/bvh.h
+++ b/intern/cycles/bvh/bvh.h
@@ -74,6 +74,13 @@ class BVH {
{
}
+ virtual void replace_geometry(const vector<Geometry *> &geometry,
+ const vector<Object *> &objects)
+ {
+ this->geometry = geometry;
+ this->objects = objects;
+ }
+
protected:
BVH(const BVHParams &params,
const vector<Geometry *> &geometry,