mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-25 17:46:08 +00:00
Set curve geometry in shell validation test
This commit is contained in:
parent
013f881426
commit
b345881ad8
@ -423,7 +423,7 @@ mod tests {
|
||||
assert_contains_err,
|
||||
operations::{
|
||||
build::BuildShell,
|
||||
geometry::UpdateHalfEdgeGeometry,
|
||||
geometry::{UpdateCurveGeometry, UpdateHalfEdgeGeometry},
|
||||
insert::Insert,
|
||||
update::{
|
||||
UpdateCycle, UpdateFace, UpdateHalfEdge, UpdateRegion,
|
||||
@ -539,7 +539,12 @@ mod tests {
|
||||
cycle.update_half_edge(
|
||||
cycle.half_edges().nth_circular(0),
|
||||
|half_edge, core| {
|
||||
let curve = Curve::new().insert(core);
|
||||
let curve = Curve::new()
|
||||
.insert(core)
|
||||
.copy_geometry_from(
|
||||
half_edge.curve(),
|
||||
&mut core.layers.geometry,
|
||||
);
|
||||
|
||||
[half_edge
|
||||
.update_curve(|_, _| curve, core)
|
||||
|
Loading…
Reference in New Issue
Block a user