BRL-CAD / brlcad

BRL-CAD is a powerful cross-platform open source combinatorial solid modeling system
https://brlcad.org
Other
686 stars 140 forks source link

rt_regionfix polite error reporting #108

Open kennethsdavis opened 8 months ago

kennethsdavis commented 8 months ago

rt_regionfix was treating the inability to open a region fix file as an error worthy of direct printing to stderr. However this condition didn't invalidate the rt_i and the calling function (rt_prep_parallel) remained blissfully unaware.

After this fix rt_regionfix calls bu_log instead of perror. This permits error reporting on the user's terms: if the log is to be saved to file, then so be it; if the log is to be ignored, then so be it; etc.

fixes #101