added quiet flag

This commit is contained in:
Tim van Scherpenzeel
2019-01-29 11:04:58 -08:00
committed by Romain Guy
parent a141abd212
commit 44bfac85e9
+1 -1
View File
@@ -647,7 +647,7 @@ void sphericalHarmonics(const utils::Path& iname, const Cubemap& inputCubemap) {
sh = CubemapSH::computeSH(inputCubemap, g_sh_compute, g_sh_irradiance);
}
if (g_sh_output) {
if (!g_quiet && g_sh_output) {
outputSh(std::cout, sh, g_sh_compute);
}