diff --git a/Assets/Scripts/Studio/Command/ObjectCommand/RemoveSelectObjectCommand.cs b/Assets/Scripts/Studio/Command/ObjectCommand/RemoveSelectObjectCommand.cs index 362e8b9a..95354d2c 100644 --- a/Assets/Scripts/Studio/Command/ObjectCommand/RemoveSelectObjectCommand.cs +++ b/Assets/Scripts/Studio/Command/ObjectCommand/RemoveSelectObjectCommand.cs @@ -1,8 +1,10 @@ using System.Collections.Generic; +using System.Security.Permissions; using Studio.AssetTool; using Studio.HierarchyTree; using Studio.Manage; using Studio.Util; +using UnityEngine; namespace Studio.Command { @@ -21,8 +23,8 @@ namespace Studio.Command public void Execute() { var renderObjectHandler = ManagerHub.instance.Get(); - if (renderObjectHandler.selectedRenderObjects.Count == 0) - return; + //if (renderObjectHandler.selectedRenderObjects.Count == 0) + // return; var connector = ManagerHub.instance.Get(); for (int i = 0; i < renderObjectHandler.selectedRenderObjects.Count; i++)