mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 20:08:30 +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,
|
assert_contains_err,
|
||||||
operations::{
|
operations::{
|
||||||
build::BuildShell,
|
build::BuildShell,
|
||||||
geometry::UpdateHalfEdgeGeometry,
|
geometry::{UpdateCurveGeometry, UpdateHalfEdgeGeometry},
|
||||||
insert::Insert,
|
insert::Insert,
|
||||||
update::{
|
update::{
|
||||||
UpdateCycle, UpdateFace, UpdateHalfEdge, UpdateRegion,
|
UpdateCycle, UpdateFace, UpdateHalfEdge, UpdateRegion,
|
||||||
@ -539,7 +539,12 @@ mod tests {
|
|||||||
cycle.update_half_edge(
|
cycle.update_half_edge(
|
||||||
cycle.half_edges().nth_circular(0),
|
cycle.half_edges().nth_circular(0),
|
||||||
|half_edge, core| {
|
|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
|
[half_edge
|
||||||
.update_curve(|_, _| curve, core)
|
.update_curve(|_, _| curve, core)
|
||||||
|
Loading…
Reference in New Issue
Block a user