Making holes apply correctly when parent is set to solid or hole
This commit is contained in:
parent
ba83b7ff1a
commit
5c3c644882
2 changed files with 3 additions and 3 deletions
|
|
@ -129,10 +129,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.View3D
|
|||
SourceContainer.Visible = true;
|
||||
RemoveAllButSource();
|
||||
|
||||
var holes = SourceContainer.VisibleMeshes().Where(m => m.WorldOutputType(this) == PrintOutputTypes.Hole);
|
||||
var holes = SourceContainer.VisibleMeshes().Where(m => m.OutputType == PrintOutputTypes.Hole);
|
||||
|
||||
Mesh resultsMesh = null;
|
||||
var participants = SourceContainer.VisibleMeshes().Where(m => m.WorldOutputType(this) != PrintOutputTypes.Hole);
|
||||
var participants = SourceContainer.VisibleMeshes().Where(m => m.OutputType != PrintOutputTypes.Hole);
|
||||
if (participants.Count() == 0)
|
||||
{
|
||||
if (holes.Count() == 0)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9bab0f3b95279a55dd575a126252e1ad7eb8562d
|
||||
Subproject commit 65fbb95b6db2b3c219fee177c7c45b22b36b9f24
|
||||
Loading…
Add table
Add a link
Reference in a new issue