appleseedhq / appleseed

A modern open source rendering engine for animation and visual effects
https://appleseedhq.net/
MIT License
2.19k stars 329 forks source link

Fix compilation when spectral support is disabled #2873

Closed mororo250 closed 4 years ago

mororo250 commented 4 years ago

Fix compilation error pointed by Mango3.

appleseed-master fails to compile in RGB mode but compiles fine in spectral mode. In the RGBSpectrum class some new methods you introduced in the DynamicSpectrum class e.g. illuminance_to_rgb, reflectance_to_rgb are not available and compilation give errors.