Fix #30081: the fix for #30026 related to rendering indirect/environment light
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 7 Feb 2012 21:04:10 +0000 (21:04 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 7 Feb 2012 21:04:10 +0000 (21:04 +0000)
commit9467ddb9037c3486bcbe80e9b9be510c05dfe526
treefa580cd73237dfe3c925f67922f2946d9b22a8be
parent54c7f374c8bc25fbca40ab950c83635fd7f18655
Fix #30081: the fix for #30026 related to rendering indirect/environment light
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.
source/blender/render/intern/source/shadeoutput.c