From ae2f9c18570c229a7cb46659199950838349a29a Mon Sep 17 00:00:00 2001 From: geondo55 <102933884+geondo55@users.noreply.github.com> Date: Fri, 27 Jun 2025 09:54:11 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9D=EC=B2=B4=20=EC=82=AD=EC=A0=9C=20Undo,?= =?UTF-8?q?=20Redo=20=EC=95=88=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Command/ObjectCommand/RemoveSelectObjectCommand.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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++) -- 2.48.1.windows.1