mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-05 17:46:08 +00:00
Pass argument to prepare for follow-on change
This commit is contained in:
parent
03e0c320fa
commit
aca0bc75d5
@ -29,7 +29,7 @@ impl Validate for Shell {
|
|||||||
.map(Into::into),
|
.map(Into::into),
|
||||||
);
|
);
|
||||||
errors.extend(
|
errors.extend(
|
||||||
ShellValidationError::check_half_edge_pairs(self, geometry)
|
ShellValidationError::check_half_edge_pairs(self, geometry, config)
|
||||||
.map(ShellValidationError::HalfEdgeHasNoSibling)
|
.map(ShellValidationError::HalfEdgeHasNoSibling)
|
||||||
.map(Into::into),
|
.map(Into::into),
|
||||||
);
|
);
|
||||||
@ -79,6 +79,7 @@ impl ShellValidationError {
|
|||||||
fn check_half_edge_pairs<'r>(
|
fn check_half_edge_pairs<'r>(
|
||||||
object: &'r Shell,
|
object: &'r Shell,
|
||||||
geometry: &'r Geometry,
|
geometry: &'r Geometry,
|
||||||
|
_: &'r ValidationConfig,
|
||||||
) -> impl Iterator<Item = HalfEdgeHasNoSibling> + 'r {
|
) -> impl Iterator<Item = HalfEdgeHasNoSibling> + 'r {
|
||||||
let mut unmatched_half_edges = BTreeMap::new();
|
let mut unmatched_half_edges = BTreeMap::new();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user