Optimization: Remove useless calls to union()

This commit is contained in:
Alessandro Ranellucci committed 2013-09-07 00:28:53 +02:00
1 parent 10ab3bbb86
commit 09684c67c2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -654,7 +654,7 @@ sub discover_horizontal_shells {
offset($too_narrow, +$margin),
[ map $_->p, @neighbor_fill_surfaces ],
)};
$new_internal_solid = $solid = union([ @grown, @$new_internal_solid ]);
$new_internal_solid = $solid = [ @grown, @$new_internal_solid ];
} else {
# if we're printing a hollow object, we discard such small parts
$new_internal_solid = $solid = diff(