Skip to content

Commit

Permalink
Merge pull request #2119 from hannobraun/fix
Browse files Browse the repository at this point in the history
Fix `UpdateShell::remove_face`
  • Loading branch information
hannobraun authored Nov 29, 2023
2 parents 83691f6 + e5420f2 commit 5084ed5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions crates/fj-core/src/operations/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
//! components.

mod cycle;
mod edge;
mod face;
mod half_edge;
mod region;
mod shell;
mod sketch;
Expand All @@ -28,8 +28,8 @@ mod surface;

pub use self::{
cycle::BuildCycle,
edge::BuildHalfEdge,
face::{BuildFace, Polygon},
half_edge::BuildHalfEdge,
region::BuildRegion,
shell::{BuildShell, TetrahedronShell},
sketch::BuildSketch,
Expand Down
2 changes: 1 addition & 1 deletion crates/fj-core/src/operations/update/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl UpdateShell for Shell {
let faces = self
.faces()
.iter()
.filter(|face| face.id() == handle.id())
.filter(|face| face.id() != handle.id())
.cloned();

Shell::new(faces)
Expand Down

0 comments on commit 5084ed5

Please sign in to comment.