Blender Git Commit Log

Git Commits -> Revision 03cb146

Revision 03cb146 by Sergey Sharybin (master)
January 31, 2015, 09:39 (GMT)
Fix T43496: Infinite loop in kernel when using surface attribute for volume

The issue was caused bu the optimization in surface attributes for cases when
there's only a volume shader used. Some attributes doesn't make sense in that
case and were skipped from calculation.

However, it is possible that kernel would still try to access them (because of
the shader setup etc). Prevented an infinite loop in the kernel now, which
should not have much affect on regular renders.

Commit Details:

Full Hash: 03cb146afa812c95acf0da7f30b3282e71bffcf0
Parent Commit: 3f57714
Lines Changed: +3, -0

1 Modified Path:

/intern/cycles/kernel/geom/geom_attribute.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021