Skip to content

Commit

Permalink
Use surface identity for validation in Vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 6, 2022
1 parent 1bb6ed8 commit 14783d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/objects/vertex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ impl Vertex {
let position = position.into();

assert_eq!(
curve.surface(),
surface_form.surface(),
curve.surface().id(),
surface_form.surface().id(),
"Surface form of vertex must be defined on same surface as curve",
);
assert_eq!(
Expand Down

0 comments on commit 14783d1

Please sign in to comment.