Skip to content

Commit

Permalink
Check orientations using boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Walrus committed Aug 3, 2023
1 parent c7eb7ed commit 714a6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fj-core/src/validate/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ impl ShellValidationError {
for (_, halfs) in global_to_half {
if let (Some(a), Some(b)) = (halfs.get(0), halfs.get(1)) {
// Check if a is reverse of b
if a.start_vertex().id() == b.start_vertex().id() {
if a.boundary().reverse() != b.boundary() {
errors.push(Self::MixedOrientations.into());
dbg!(a, b);
return;
Expand Down

0 comments on commit 714a6a0

Please sign in to comment.