commit 5ef9edf540a8bbdfebe4313ab5050b862dd38b20
parent 1dd44c8d4705cac115b599347f5c38ca18763723
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 11 Apr 2025 16:37:55 +0200
Minor update to a log message
Add the index of the triangle on which a vertex registration error
occurs.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sstl_binary.c b/src/sstl_binary.c
@@ -99,8 +99,8 @@ parse_triangle
res = register_vertex(sstl, v[i]);
if(res != RES_OK) {
- ERROR(sstl, "%s: vertex registration error -- %s\n",
- name, res_to_cstr(res));
+ ERROR(sstl, "%s: triangle %i: vertex registration error -- %s\n",
+ name, itri, res_to_cstr(res));
res = RES_BAD_ARG;
goto error;
}