Don't apply holes to support

This commit is contained in:
LarsBrubaker 2022-05-30 07:08:34 -07:00
parent 90cf1f183b
commit 9d18cb20e0

View file

@ -324,7 +324,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
if (supportObjects.Any())
{
// add a flag to the merge rules to let us know there was support
mergeRules += "S" + AddObjectsForExtruder(supportObjects, holes, outputOptions, ref savedStlCount);
mergeRules += "S" + AddObjectsForExtruder(supportObjects, null, outputOptions, ref savedStlCount);
}
var wipeTowerObjects = meshItemsOnBuildPlate.Where((item) => item.WorldOutputType() == PrintOutputTypes.WipeTower);
@ -639,7 +639,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
if (holes.Any())
if (holes?.Any() == true)
{
bool firstHole = true;