Update variable name

This commit is contained in:
Hanno Braun 2022-06-28 15:58:24 +02:00
parent 85c944e195
commit 6f8944cd8a
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ impl ToShape for fj::Sweep {
tolerance: Tolerance, tolerance: Tolerance,
debug_info: &mut DebugInfo, debug_info: &mut DebugInfo,
) -> Result<Validated<Vec<Face>>, ValidationError> { ) -> Result<Validated<Vec<Face>>, ValidationError> {
let shape = self.shape().to_shape(config, tolerance, debug_info)?; let sketch = self.shape().to_shape(config, tolerance, debug_info)?;
let path = Vector::from(self.path()); let path = Vector::from(self.path());
let color = self.shape().color(); let color = self.shape().color();
let swept = sweep(shape.into_inner(), path, tolerance, color); let swept = sweep(sketch.into_inner(), path, tolerance, color);
validate(swept, config) validate(swept, config)
} }