Error message with hight spot blend value.

Component:Blender Exporter
Category:bug report
Assigned:David Bluecame

When you have more than one light 'spot' in his scene, with values of blend over .70, it obtains a message of error in console although the render continues and finishes seemingly in a correct way.

Conditions to reproduce it:

- two lights 'spot' with values 'blend' superior to 0.70.

- Directlight + caustics photons.

spot_bug.png262.78 KB



Assigned to:Anonymous» David Bluecame

Hello, povmaniac

Thank you for the information. This is an old problem I've seen in complex scenes but that I could not replicate in simple scenes, so your indications are very useful.

I will take a look as soon as possible.

Best regards.


Status:active» ready to commit


I have sent a pull request to YafaRay master with a proposed fix.

I hope it makes sense to you and solves the problem without causing other issues... I hope.

I've attached a test scene with a spotlight causing this issue so you can try before and after the fix. I noticed this problem also affects background texture (EXR for example) using IBL+emitting photons. In my tests that's also fixed with this commit.

I hope it helps. Best regards.

pdf1d_issue.blend 465.84 KB


Status:ready to commit» fixed

Fixed in YafaRay-E (Experimental) v1.0.0


For more information, see:


If you still have this issue with the new version please let us know.


Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.