객체 삭제 Undo, Redo 안되는 버그

This commit is contained in:
geondo55
2025-06-27 09:54:11 +09:00
parent eaca30883b
commit ae2f9c1857

View File

@@ -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<RenderObjectHandler>();
if (renderObjectHandler.selectedRenderObjects.Count == 0)
return;
//if (renderObjectHandler.selectedRenderObjects.Count == 0)
// return;
var connector = ManagerHub.instance.Get<CustomAssetConnector>();
for (int i = 0; i < renderObjectHandler.selectedRenderObjects.Count; i++)