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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-02-15 14:59:31 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-02-15 14:59:31 +0300
commit8b8c0d00499f72d43c0c6daecd2909eff8edf068 (patch)
tree3aebdc310b4dbf5127301806579a314251dbc9f5 /intern/cycles/bvh/bvh_build.h
parent6cdc954e8c41a19ae1e6ef3e8d5c375dd3f646a5 (diff)
Cycles: Don't calculate primitive time if BVH motion steps are not used
Solves memory regression by the default configuration.
Diffstat (limited to 'intern/cycles/bvh/bvh_build.h')
-rw-r--r--intern/cycles/bvh/bvh_build.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/bvh/bvh_build.h b/intern/cycles/bvh/bvh_build.h
index 19af9c62ecd..430efc3e0f6 100644
--- a/intern/cycles/bvh/bvh_build.h
+++ b/intern/cycles/bvh/bvh_build.h
@@ -115,6 +115,8 @@ protected:
array<int>& prim_object;
array<float2>& prim_time;
+ bool need_prim_time;
+
/* Build parameters. */
BVHParams params;