Make Translate show up in operations tree

This commit is contained in:
Hanno Braun 2025-02-12 21:14:34 +01:00
parent 4416110980
commit f9e7aa4f9c

View File

@ -28,9 +28,9 @@ pub trait SweepExt {
impl SweepExt for Handle<Face> {
fn sweep(self, path: impl Into<Vector<3>>) -> Sweep {
let bottom = self;
let top = bottom.flip().translate(path);
let top = Handle::new(bottom.flip().translate(path));
let output = top.output.connect(bottom);
let output = top.connect(bottom);
Sweep {
output: Handle::new(output),
}