Removed Object3DTypes - changed to SelectionGroup class

This commit is contained in:
Lars Brubaker 2017-12-19 16:57:59 -08:00
parent 804d488f0e
commit a4ba17817e
15 changed files with 44 additions and 33 deletions

View file

@ -41,7 +41,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
public MakeSupport(IObject3D selectedItem)
{
if (selectedItem.ItemType == Object3DTypes.SelectionGroup)
if (selectedItem is SelectionGroup)
{
SetData(selectedItem.Children.ToList());
}