Blender Git Commit Log

Git Commits -> Revision 5eed7cd

Revision 5eed7cd by William Leeson (master)
September 6, 2021, 11:14 (GMT)
Division by zero when there are no lights and only emissive surfaces

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.

Reviewed By: brecht

Maniphest Tasks: T79190

Differential Revision: https://developer.blender.org/D11682

Commit Details:

Full Hash: 5eed7cdc8c17b96ba9fd38647e86d412e682e137
Parent Commit: e2bbb5b
Lines Changed: +27, -26

1 Modified Path:

/intern/cycles/render/light.cpp (+27, -26) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021