Made the selection object in subtract always render right
This fixes an issue where if the selected subtract item was a group it would not render corectly
This commit is contained in:
parent
81df3f2b1c
commit
149ba6d3c2
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ namespace MatterHackers.MeshVisualizer
|
|||
|
||||
if(selectedItem is ISelectableChildContainer selectableChildContainer)
|
||||
{
|
||||
if(selectableChildContainer.SelectedChildren.Contains(item.ID))
|
||||
if(item.AncestorsAndSelf().Any(i => selectableChildContainer.SelectedChildren.Contains(i.ID)))
|
||||
{
|
||||
drawColor = new Color(drawColor, 200);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue