Fix modifiers

This commit is contained in:
Alessandro Ranellucci 2014-03-23 16:56:41 +01:00
parent fec41d6dfd
commit ea3266c6e9

View file

@ -246,7 +246,10 @@ sub slice {
# remove such parts from original region
$other_layerm->slices->clear;
$other_layerm->append($_) for @{ diff($other_slices, $my_parts) };
$other_layerm->slices->append(Slic3r::Surface->new(
expolygon => $_,
surface_type => S_TYPE_INTERNAL,
)) for @{ diff_ex($other_slices, [ map @$_, @$my_parts ]) };
}
}
}