Refactoring, new size_3D function

This commit is contained in:
Alessandro Ranellucci 2012-09-22 16:12:54 +02:00
parent b5672de3ca
commit 82ac4722d2
2 changed files with 9 additions and 4 deletions

View file

@ -386,9 +386,7 @@ sub extents {
sub size {
my $self = shift;
my @extents = $self->extents;
return map $extents[$_][MAX] - $extents[$_][MIN], (X,Y,Z);
return Slic3r::Geometry::size_3D($self->vertices);
}
sub slice_facet {