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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-12-02 00:39:57 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-12-02 00:39:57 +0300
commit70502578b1d2849a3f8477dd574ffd98328c3a50 (patch)
tree648226f03f89b4a7112d091cab942cfa57a7ea6b /intern
parente5e1010919a71f1aa2df9d8157ce68ee676e7dbe (diff)
Cycles: Remove TODO, it is possible there'll be more intersections recorded
It's just only few of them will be stored in the intersection array, nothing wrong with that what's so ever.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_subsurface.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/kernel/kernel_subsurface.h b/intern/cycles/kernel/kernel_subsurface.h
index b9928561791..e2d195a6ffe 100644
--- a/intern/cycles/kernel/kernel_subsurface.h
+++ b/intern/cycles/kernel/kernel_subsurface.h
@@ -288,9 +288,6 @@ ccl_device int subsurface_scatter_multi_intersect(
sd->object,
lcg_state,
BSSRDF_MAX_HITS);
- /* TODO(sergey): Investigate whether scene_intersect_subsurface() could
- * indeed return more than BSSRDF_MAX_HITS hits.
- */
int num_eval_hits = min(ss_isect->num_hits, BSSRDF_MAX_HITS);
for(int hit = 0; hit < num_eval_hits; hit++) {