#Fix missing default value in "field" integrator (#66)
parent
edf4470fe8
commit
57b1d117c1
|
@ -98,6 +98,8 @@ public:
|
||||||
m_undefined = Spectrum(props.getFloat("undefined"));
|
m_undefined = Spectrum(props.getFloat("undefined"));
|
||||||
else
|
else
|
||||||
m_undefined = props.getSpectrum("undefined", Spectrum(0.0f));
|
m_undefined = props.getSpectrum("undefined", Spectrum(0.0f));
|
||||||
|
} else {
|
||||||
|
m_undefined = Spectrum(0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SPECTRUM_SAMPLES != 3 && (m_field == EUV || m_field == EShadingNormal || m_field == EGeometricNormal
|
if (SPECTRUM_SAMPLES != 3 && (m_field == EUV || m_field == EShadingNormal || m_field == EGeometricNormal
|
||||||
|
|
Loading…
Reference in New Issue