File povray-3.6.9.7-fix.patch of Package povray

Index: source/backend/lighting/photons.cpp
===================================================================
--- source/backend/lighting/photons.cpp.orig
+++ source/backend/lighting/photons.cpp
@@ -545,6 +545,9 @@ void PhotonTrace::ComputeLightedTexture(
 				threadData->passThruPrev = true;
 			}
 			// else die
+			doReflection = 0;
+			doRefraction = 0;
+			doDiffuse = 0;
 		}
 		else
 		{
openSUSE Build Service is sponsored by