Subtract and replace can handle multiple keep objects

Also fixes it being applied to an existing subtract and replace
This commit is contained in:
LarsBrubaker 2018-12-22 07:53:26 -08:00
parent 3b0afb0353
commit 231af2df67

View file

@ -137,7 +137,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.View3D
}
else // union into the current paint
{
paintMesh = BooleanProcessing.Do(keep.obj3D.Mesh, keep.matrix,
paintMesh = BooleanProcessing.Do(paintMesh, keep.matrix,
intersect, Matrix4X4.Identity, 0, reporter, amountPerOperation, percentCompleted, progressStatus, cancellationToken);
}