mirror of
https://github.com/hannobraun/Fornjot
synced 2025-11-24 16:32:33 +00:00
Remove redundant code
This code is no longer required, as `PartialCycle` makes sure that all surfaces are properly propagated.
This commit is contained in:
parent
142bbf8c77
commit
cb81f3b3e5
@ -62,12 +62,8 @@ impl CycleBuilder for PartialCycle {
|
||||
.position()
|
||||
.expect("Need surface position to extend cycle");
|
||||
|
||||
let from = vertex_prev.update_partial(|partial| {
|
||||
partial.with_surface(Some(surface.clone()))
|
||||
});
|
||||
let to = vertex_next.update_partial(|partial| {
|
||||
partial.with_surface(Some(surface.clone()))
|
||||
});
|
||||
let from = vertex_prev;
|
||||
let to = vertex_next;
|
||||
|
||||
previous = Some(to.clone());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user