Improving iteration of sub edit objects (stop at described root)

This commit is contained in:
Lars Brubaker 2018-01-03 14:17:48 -08:00
parent 73a54f0e3c
commit 5717bb5f19
8 changed files with 39 additions and 37 deletions

View file

@ -107,7 +107,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
progressReporter.Report(progressStatus);
// Flatten the scene, filtering out items outside of the build volume
var flattenScene = reloadedItem.Flatten(meshPrintOutputSettings, (item) => item.InsideBuildVolume(printer));
var flattenScene = reloadedItem.Flatten(meshPrintOutputSettings, (item) => item.InsideBuildVolume(printer, null));
var meshGroups = new List<MeshGroup> { flattenScene };
if (meshGroups != null)