Only load setting that are part of an object that can be printed
This commit is contained in:
parent
b73ff7070c
commit
302cfc620e
2 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue