xNode icon indicating copy to clipboard operation
xNode copied to clipboard

when delete a node which dynamicPortList is ture , Ctrl + Z has error

Open ChuKuang opened this issue 4 years ago • 4 comments

image

ChuKuang avatar Jul 16 '20 11:07 ChuKuang

I have fixed this problem It is caused by not clearing “reorderableListCache ” and “editors””when deleting the node image

image

ChuKuang avatar Aug 07 '20 09:08 ChuKuang

@Siccity

ChuKuang avatar Aug 28 '20 06:08 ChuKuang

How to solve this problem?(⑉・̆-・̆⑉)

Y-joker avatar Dec 10 '20 12:12 Y-joker

How to solve this problem?(⑉・̆-・̆⑉)

When remove node, you need clear the cache of customeditor.

 1.  private static readonly Dictionary<UnityEngine.Object, Dictionary<string, ReorderableList>> reorderableListCache = new Dictionary<UnityEngine.Object, Dictionary<string, ReorderableList>>();
2.   private static Dictionary<K, T> editors = new Dictionary<K, T>();

ChuKuang avatar Dec 14 '20 06:12 ChuKuang