From 302cfc620e8f0ffe67d13b5ca6c980960f7c183b Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Fri, 6 May 2022 17:19:54 -0700 Subject: [PATCH] Only load setting that are part of an object that can be printed --- MatterControlLib/ApplicationView/Config/PrinterConfig.cs | 2 +- StaticData/Translations/Master.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MatterControlLib/ApplicationView/Config/PrinterConfig.cs b/MatterControlLib/ApplicationView/Config/PrinterConfig.cs index e8a1db6af..1d08a2a07 100644 --- a/MatterControlLib/ApplicationView/Config/PrinterConfig.cs +++ b/MatterControlLib/ApplicationView/Config/PrinterConfig.cs @@ -81,7 +81,7 @@ namespace MatterHackers.MatterControl var foundPartSettings = false; var newSceneOverrides = new PrinterSettingsLayer(); // accumulate all the scene overrides ordered by their names, which is the order they will be in the design tree - foreach (var partSettingsObject in scene.DescendantsAndSelf().Where(c => c is PartSettingsObject3D).OrderBy(i => i.Name)) + foreach (var partSettingsObject in scene.DescendantsAndSelf().Where(c => c is PartSettingsObject3D && c.Parent?.WorldPrintable() == true).OrderBy(i => i.Name)) { foundPartSettings = true; var settings = ((PartSettingsObject3D)partSettingsObject).Overrides; diff --git a/StaticData/Translations/Master.txt b/StaticData/Translations/Master.txt index 643b62950..586dd5c4a 100644 --- a/StaticData/Translations/Master.txt +++ b/StaticData/Translations/Master.txt @@ -2434,6 +2434,9 @@ Translated:Item cannot be exported English:Item cannot be exported as AMF Translated:Item cannot be exported as AMF +English:Item cannot be exported as MCX +Translated:Item cannot be exported as MCX + English:Item not Found Translated:Item not Found