star-line

Structure for accelerating line importance sampling
git clone git://git.meso-star.fr/star-line.git
Log | Files | Refs | README | LICENSE

commit eec4c24bdd38deb05bfb86e4e926f0b1f0b90095
parent fff640c248a207ecd9be6de45feb6fb05f69cf4e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  6 Feb 2026 14:47:33 +0100

sln-build: Fixed the parsing of the “vcount” parameter.

It was being parsed as if it defined the mesh type, which caused an
error.

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

diff --git a/src/sln_build.c b/src/sln_build.c @@ -179,7 +179,7 @@ parse_polyline_opt(const char* str, void* ptr) if(!strcmp(key, "err")) opt = ERR; else if(!strcmp(key, "mesh")) opt = MESH; - else if(!strcmp(key, "vcount")) opt = MESH; + else if(!strcmp(key, "vcount")) opt = VCOUNT; else { fprintf(stderr, "invalid polyline option `%s'\n", key); res = RES_BAD_ARG;