Disable avoid_crossing_perimeters optimization until we can detect nested shells. #1254

This commit is contained in:
Alessandro Ranellucci 2013-06-16 16:04:19 +02:00
parent 32aafd2eb9
commit 3bcf1da702

View file

@ -103,7 +103,8 @@ sub add_model {
# optimization: if avoid_crossing_perimeters is enabled, split # optimization: if avoid_crossing_perimeters is enabled, split
# this mesh into distinct objects so that we reduce the complexity # this mesh into distinct objects so that we reduce the complexity
# of the graphs # of the graphs
$model->split_meshes if $Slic3r::Config->avoid_crossing_perimeters && !$Slic3r::Config->complete_objects; # -- Disabling this one because there are too many legit objects having nested shells
###$model->split_meshes if $Slic3r::Config->avoid_crossing_perimeters && !$Slic3r::Config->complete_objects;
foreach my $object (@{ $model->objects }) { foreach my $object (@{ $model->objects }) {
# we align object to origin before applying transformations # we align object to origin before applying transformations