This commit is contained in:
Hanno Braun 2022-06-28 17:00:34 +02:00
parent 668f850034
commit a28fb7d0e5
1 changed files with 1 additions and 4 deletions

View File

@ -16,10 +16,7 @@ impl ToShape for fj::Transform {
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 shape = self.shape.to_shape(config, tolerance, debug_info)?;
let shape = shape.into_inner(); let faces = transform(&shape.into_inner(), &make_transform(self));
let faces = transform(&shape, &make_transform(self));
validate(faces, config) validate(faces, config)
} }