From 27c7b853da717db0a70c29aa584eec907af813b8 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 8 Mar 2013 14:18:25 -0500 Subject: [PATCH] volpath.cpp: always specify sampler to evalTransmittance() --- src/integrators/path/volpath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrators/path/volpath.cpp b/src/integrators/path/volpath.cpp index ef180221..788c3c8e 100644 --- a/src/integrators/path/volpath.cpp +++ b/src/integrators/path/volpath.cpp @@ -195,7 +195,7 @@ public: && (!m_hideEmitters || scattered)) { Spectrum value = throughput * scene->evalEnvironment(ray); if (rRec.medium) - value *= rRec.medium->evalTransmittance(ray); + value *= rRec.medium->evalTransmittance(ray, rRec.sampler); Li += value; }