1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-23 10:04:26 +00:00

Refactoring: use the clone() method for inflating Surface objects

This commit is contained in:
Alessandro Ranellucci
2013-03-29 19:18:06 +01:00
parent e563c62094
commit 1b79b1cb20
4 changed files with 21 additions and 32 deletions
+1 -7
View File
@@ -89,13 +89,7 @@ sub make_fill {
1,
);
push @surfaces, map Slic3r::Surface->new(
expolygon => $_,
surface_type => $group->[0]->surface_type,
bridge_angle => $group->[0]->bridge_angle,
thickness => $group->[0]->thickness,
thickness_layers => $group->[0]->thickness_layers,
), @$union;
push @surfaces, map $group->[0]->clone(expolygon => $_), @$union;
}
}