Skip to content

Commit

Permalink
Re-fix the simple extrusion example
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Zervas <[email protected]>
  • Loading branch information
dzervas committed Jun 14, 2024
1 parent 5684fcc commit 447011d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cadmium/examples/project_simple_extrusion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn main() {
let wb_ref = p.workbenches.first().unwrap().clone();
let step = wb_ref.borrow().get_step_by_hash(sketch_id).unwrap();

let StepResult::Sketch { sketch, .. } = step.borrow().result.clone() else {
let StepResult::Sketch(sketch) = step.borrow().result.clone() else {
panic!("Expected a sketch");
};

Expand Down

0 comments on commit 447011d

Please sign in to comment.