mirror of https://github.com/hannobraun/Fornjot
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()
|
.position()
|
||||||
.expect("Need surface position to extend cycle");
|
.expect("Need surface position to extend cycle");
|
||||||
|
|
||||||
let from = vertex_prev.update_partial(|partial| {
|
let from = vertex_prev;
|
||||||
partial.with_surface(Some(surface.clone()))
|
let to = vertex_next;
|
||||||
});
|
|
||||||
let to = vertex_next.update_partial(|partial| {
|
|
||||||
partial.with_surface(Some(surface.clone()))
|
|
||||||
});
|
|
||||||
|
|
||||||
previous = Some(to.clone());
|
previous = Some(to.clone());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue