From 44bfac85e9b70dc57205269a8aefe44e2758e0a0 Mon Sep 17 00:00:00 2001 From: Tim van Scherpenzeel Date: Tue, 29 Jan 2019 13:11:54 +0100 Subject: [PATCH] added quiet flag --- tools/cmgen/src/cmgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmgen/src/cmgen.cpp b/tools/cmgen/src/cmgen.cpp index b89f2490c9..ed7c3018c8 100644 --- a/tools/cmgen/src/cmgen.cpp +++ b/tools/cmgen/src/cmgen.cpp @@ -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); }