mirror of https://github.com/hannobraun/Fornjot
Update variable name
This commit is contained in:
parent
1d141c68e7
commit
85c944e195
|
@ -16,12 +16,12 @@ impl ToShape for fj::Sketch {
|
||||||
_: Tolerance,
|
_: Tolerance,
|
||||||
_: &mut DebugInfo,
|
_: &mut DebugInfo,
|
||||||
) -> Result<Validated<Vec<Face>>, ValidationError> {
|
) -> Result<Validated<Vec<Face>>, ValidationError> {
|
||||||
let mut shape = Shape::new();
|
let mut tmp = Shape::new();
|
||||||
|
|
||||||
let surface = Surface::xy_plane();
|
let surface = Surface::xy_plane();
|
||||||
let points = self.to_points().into_iter().map(Point::from);
|
let points = self.to_points().into_iter().map(Point::from);
|
||||||
|
|
||||||
let sketch = Face::builder(surface, &mut shape)
|
let sketch = Face::builder(surface, &mut tmp)
|
||||||
.with_exterior_polygon(points)
|
.with_exterior_polygon(points)
|
||||||
.with_color(self.color())
|
.with_color(self.color())
|
||||||
.build()
|
.build()
|
||||||
|
|
Loading…
Reference in New Issue