hannobraun / fornjot

Early-stage b-rep CAD kernel, written in the Rust programming language.
https://www.fornjot.app/
Other
2.05k stars 118 forks source link

Fix bug where validation errors could overwrite previous validation errors #2448

Closed hannobraun closed 3 months ago

hannobraun commented 3 months ago

Validation errors were stored in a map, by object ID, which means that only one validation error could be stored per object. This made no sense, and this pull request fixes it. It's also a simplification, so a win all around.

This seems to be a really old bug, but I don't think it had much impact. It could not lead to the presence of validation errors being missed. It could just prevent the user from having a complete picture of what is wrong, if there already are validation errors.