YafaRay/Core — pull request #10 by OlafArnold (2012-04-16 17:10:22+00:00)
Title: Meshlight:

-fix for meshlight -> illumSample generates NAN's,
avoid ZeroDivision by adding a check to s.pdf.

Bug reported by samo here with example file:
http://www.yafaray.org/comment/reply/512