When rendering the test scene in T79190 which has only emissive surfaces a division by zero occurs. This is a simple patch to remove this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Moved the following variables: { use_lamp_mis, light_index } outside the test for zero lights as they are used in other places.
| intern/cycles/render/light.cpp | ||
|---|---|---|
| 440–441 | Some odd indentation here. If you have clang-format set up on file save, it should correct that automatically. | |