diff --git a/MatterControl.Winforms/WindowsPlatformsFeatures.cs b/MatterControl.Winforms/WindowsPlatformsFeatures.cs index 79e577882..e987ec729 100644 --- a/MatterControl.Winforms/WindowsPlatformsFeatures.cs +++ b/MatterControl.Winforms/WindowsPlatformsFeatures.cs @@ -29,16 +29,15 @@ either expressed or implied, of the FreeBSD Project. using System; using System.IO; +using System.Linq; using MatterHackers.Agg; +using MatterHackers.Agg.Image; +using MatterHackers.Agg.Platform; using MatterHackers.Agg.UI; +using MatterHackers.MatterControl.PluginSystem; namespace MatterHackers.MatterControl { - using Agg.Image; - using MatterHackers.Agg.Platform; - using MatterHackers.MatterControl.PluginSystem; - using MatterHackers.RenderOpenGl.OpenGl; - public class WindowsPlatformsFeatures : INativePlatformFeatures { public bool CameraInUseByExternalProcess { get; set; } = false; @@ -212,6 +211,4 @@ namespace MatterHackers.MatterControl } } } - -} } \ No newline at end of file diff --git a/PluginSystem/INativePlatformFeatures.cs b/PluginSystem/INativePlatformFeatures.cs index 4cdf57be3..659aa7156 100644 --- a/PluginSystem/INativePlatformFeatures.cs +++ b/PluginSystem/INativePlatformFeatures.cs @@ -28,8 +28,9 @@ either expressed or implied, of the FreeBSD Project. */ using System; +using MatterHackers.Agg.UI; -namespace MatterHackers.Agg.UI +namespace MatterHackers.MatterControl { public interface INativePlatformFeatures { diff --git a/SlicerConfiguration/Settings/PrinterSettings.cs b/SlicerConfiguration/Settings/PrinterSettings.cs index 946029d36..f8abdc2a0 100644 --- a/SlicerConfiguration/Settings/PrinterSettings.cs +++ b/SlicerConfiguration/Settings/PrinterSettings.cs @@ -553,7 +553,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration } } catch { } - }; + } } return null; @@ -637,7 +637,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration var results = new List<(string layerName, string currentValue)>(); - foreach (PrinterSettingsLayer layer in layerCascade) { if (layer.TryGetValue(sliceSetting, out string value)) @@ -975,7 +974,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration } } - return (T)default(T); } @@ -1349,4 +1347,3 @@ namespace MatterHackers.MatterControl.SlicerConfiguration } } } - \ No newline at end of file