mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-06 15:25:53 +00:00
Expect &Geometry
in check_exterior_cycles
This commit is contained in:
parent
d179892ec2
commit
24f08b6be2
@ -13,10 +13,12 @@ impl Validate for Sketch {
|
||||
&self,
|
||||
config: &ValidationConfig,
|
||||
errors: &mut Vec<ValidationError>,
|
||||
_: &Geometry,
|
||||
geometry: &Geometry,
|
||||
) {
|
||||
SketchValidationError::check_object_references(self, config, errors);
|
||||
SketchValidationError::check_exterior_cycles(self, config, errors);
|
||||
SketchValidationError::check_exterior_cycles(
|
||||
self, geometry, config, errors,
|
||||
);
|
||||
SketchValidationError::check_interior_cycles(self, config, errors);
|
||||
}
|
||||
}
|
||||
@ -74,6 +76,7 @@ impl SketchValidationError {
|
||||
|
||||
fn check_exterior_cycles(
|
||||
sketch: &Sketch,
|
||||
_: &Geometry,
|
||||
_config: &ValidationConfig,
|
||||
errors: &mut Vec<ValidationError>,
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user