diff options
Diffstat (limited to 'Scripts/Fold/Editor/FoldWindow.cs')
| -rw-r--r-- | Scripts/Fold/Editor/FoldWindow.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Scripts/Fold/Editor/FoldWindow.cs b/Scripts/Fold/Editor/FoldWindow.cs index 3ba556c..f0f9b42 100644 --- a/Scripts/Fold/Editor/FoldWindow.cs +++ b/Scripts/Fold/Editor/FoldWindow.cs @@ -21,7 +21,6 @@ public class FoldWindow : EditorWindow { graphAsset = LoadOrCreateGraph(); ConstructGraphView(); - Undo.undoRedoPerformed += OnUndoRedo; } void OnDisable() @@ -34,7 +33,6 @@ public class FoldWindow : EditorWindow } AssetDatabase.SaveAssets(); - Undo.undoRedoPerformed -= OnUndoRedo; } void OnFocus() @@ -77,11 +75,6 @@ public class FoldWindow : EditorWindow rootVisualElement.Add(graphView); } - void OnUndoRedo() - { - graphView?.Reload(); - } - public void ShowNotification(string message) { if (string.IsNullOrEmpty(message)) |
