YafaRay/Core — pull request #17 by OlafArnold (2012-04-27 13:11:02+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