Files
blender/intern
Sergey Sharybin 16017178b2 Revert "Cycles: Cleanup: Don't use return on function returning void"
Not sure why exactly it is called a cleanup, the code was much more clear
and robust against possible missing return statements which are MANDATORY.

Missing return statement will:

- Cause two different BVH traversals to be run.

  Not is happening currently, but if more BVH layouts are added, it will
  become a problem.

- It is already causing assert() statements to fail, since functions are
  no longer returning when they are supposed to.

If there is any measurable reason to keep this change, let me know.
Otherwise just stick to reliable/tested/robust code.

This reverts commit ba65f7093b.
2018-06-07 11:57:57 +02:00
..
2018-03-22 16:38:53 -04:00
2018-05-18 11:00:47 +02:00
2017-03-12 02:47:53 +11:00
2017-05-27 15:34:55 -04:00
2017-11-14 17:11:48 +01:00
2018-06-04 18:47:57 +02:00
2017-06-19 10:04:30 +10:00
2017-05-27 15:34:55 -04:00
2018-02-07 11:53:01 +01:00