객체 삭제 Undo, Redo 안되는 버그 수정 #184
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user