From 23ec362e997d34fec2f1a10649377ba01f4fbb0d Mon Sep 17 00:00:00 2001 From: jlewin Date: Fri, 7 Jun 2019 13:52:47 -0700 Subject: [PATCH] Report exceptions during Boolean processing - Issue MatterHackers/MCCentral#5659 Investigate failure to subtract on Pulse setup machine --- .../PartPreviewWindow/View3D/Actions/BooleanProcessing.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MatterControlLib/PartPreviewWindow/View3D/Actions/BooleanProcessing.cs b/MatterControlLib/PartPreviewWindow/View3D/Actions/BooleanProcessing.cs index 42034cc66..2c40a414b 100644 --- a/MatterControlLib/PartPreviewWindow/View3D/Actions/BooleanProcessing.cs +++ b/MatterControlLib/PartPreviewWindow/View3D/Actions/BooleanProcessing.cs @@ -101,6 +101,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.View3D return new Mesh(vcArray, fcArray); } + catch (Exception ex) + { + ApplicationController.Instance.LogInfo("Error performing boolean operation: "); + ApplicationController.Instance.LogInfo(ex.Message); + } finally { if (pVc != IntPtr.Zero)