star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

commit 548133060fbc8e9f5163cfea09ab8b2908864e45
parent b9380a86aa98f8a8b9ef70f2906f79f675e3e751
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 17 Dec 2020 18:59:51 +0100

Update the Embree verbosity policy

Diffstat:
Msrc/suvm_device.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/suvm_device.c b/src/suvm_device.c @@ -83,7 +83,7 @@ suvm_device_create dev->logger = logger; dev->verbose = verbose; - sz = snprintf(embree_opts, sizeof(embree_opts), "verbose=%d", verbose); + sz = snprintf(embree_opts, sizeof(embree_opts), "verbose=%d", verbose > 1 ? 1 : 0); if((size_t)sz >= sizeof(embree_opts)) { log_err(dev, "Could not setup the Embree option string.\n"); res = RES_MEM_ERR;