Ignore objects with invalid MeshPaths when slicing
This commit is contained in:
parent
2d8838e9cb
commit
2c531ecb55
1 changed files with 2 additions and 1 deletions
|
|
@ -104,7 +104,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
{
|
||||
var extruderIndex = extruderIndexIn;
|
||||
var itemsThisExtruder = meshItemsOnBuildPlate.Where((item) =>
|
||||
(item.WorldMaterialIndex() == extruderIndex
|
||||
File.Exists(item.MeshPath) // Drop missing files
|
||||
&& (item.WorldMaterialIndex() == extruderIndex
|
||||
|| (extruderIndex == 0
|
||||
&& (item.WorldMaterialIndex() >= extruderCount || item.WorldMaterialIndex() == -1)))
|
||||
&& (item.WorldOutputType() == PrintOutputTypes.Solid || item.WorldOutputType() == PrintOutputTypes.Default));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue