Use validation tolerance in Core::tolerance

It is important that the same value is used everywhere. Otherwise,
validation could miss problems that then end up in an exported file,
for example.
This commit is contained in:
Hanno Braun 2024-08-07 20:14:46 +02:00
parent 8afcc7efe3
commit 305e631487

View File

@ -41,7 +41,7 @@ impl Core {
/// Access the tolerance value used for intermediate geometry representation
pub fn tolerance(&self) -> Tolerance {
self.default_tolerance
self.layers.validation.config.tolerance
}
}