Update dump-stl.pl

This commit is contained in:
Alessandro Ranellucci 2013-09-17 19:25:10 +02:00
parent 39449f9245
commit f79ba8cec0
2 changed files with 4 additions and 1 deletions

View file

@ -225,7 +225,9 @@ sub mesh {
}
}
return Slic3r::TriangleMesh->merge(@meshes);
my $mesh = Slic3r::TriangleMesh->new;
$mesh->merge($_) for @meshes;
return $mesh;
}
# this method splits objects into multiple distinct objects by walking their meshes