Making ungroup and flatten do the same behavior and always be available

This commit is contained in:
LarsBrubaker 2018-12-12 09:38:04 -08:00
parent 4092d34e01
commit 3e38fac335
3 changed files with 23 additions and 4 deletions

View file

@ -597,7 +597,8 @@ namespace MatterHackers.MatterControl
if(selectedItem != null)
{
return selectedItem is GroupObject3D
|| selectedItem.GetType() == typeof(Object3D);
|| selectedItem.GetType() == typeof(Object3D)
|| selectedItem.CanFlatten;
}
return false;