diff --git a/ApplicationView/ApplicationController.cs b/ApplicationView/ApplicationController.cs index 2c0eeca6c..9d4a3ea21 100644 --- a/ApplicationView/ApplicationController.cs +++ b/ApplicationView/ApplicationController.cs @@ -830,7 +830,7 @@ namespace MatterHackers.MatterControl return Task.CompletedTask; }, (sceneItem) => true, - (sceneItem) => true); + (sceneItem) => sceneItem.DescendantsAndSelf().Any((i) => i is IPathObject)); ActiveSliceSettings.SettingChanged.RegisterEvent((s, e) => { diff --git a/EeProm/EePromMarlinSettings.cs b/EeProm/EePromMarlinSettings.cs index 9c944fa17..486b885c2 100644 --- a/EeProm/EePromMarlinSettings.cs +++ b/EeProm/EePromMarlinSettings.cs @@ -493,7 +493,7 @@ namespace MatterHackers.MatterControl.EeProm { get { - return acc_travel_moves; + return acc_retraction; } set diff --git a/PartPreviewWindow/View3D/PrinterBar/PrinterActionsBar.cs b/PartPreviewWindow/View3D/PrinterBar/PrinterActionsBar.cs index 178073892..57a079b5b 100644 --- a/PartPreviewWindow/View3D/PrinterBar/PrinterActionsBar.cs +++ b/PartPreviewWindow/View3D/PrinterBar/PrinterActionsBar.cs @@ -287,29 +287,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow { Icon = AggContext.StaticData.LoadIcon("memory_16x16.png", 16, 16, theme.InvertIcons), Title = "Configure EEProm".Localize(), - Action = configureEePromButton_Click + Action = configureEePromButton_Click, + IsEnabled = () => printer.Connection.IsConnected }, - //new NamedAction() - //{ - // Title = "Rename Printer".Localize(), - // Action = () => - // { - // DialogWindow.Show( - // new InputBoxPage( - // "Rename Printer".Localize(), - // "Name".Localize(), - // printer.Settings.GetValue(SettingsKey.printer_name), - // "Enter New Name Here".Localize(), - // "Rename".Localize(), - // (newName) => - // { - // if (!string.IsNullOrEmpty(newName)) - // { - // printer.Settings.SetValue(SettingsKey.printer_name, newName); - // } - // })); - // } - //}, new NamedBoolAction() { Title = "Configure Printer".Localize(), diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index b0e86c1b3..f72f11182 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit b0e86c1b34df07656eb44fe9dbd3bc4271bf0e57 +Subproject commit f72f111824056c3c4dae9327326dc39b2eb85a1b