Skip to content

Commit d43614e

Browse files
Merge pull request #407 from Unity-Technologies/features/jono/undo-redo-flick
Persistent undo menu
2 parents e515e00 + 0d8c9f6 commit d43614e

57 files changed

Lines changed: 4691 additions & 5052 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Actions/Delete.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#if UNITY_EDITOR
22
using System;
3-
using UnityEditor.Experimental.EditorVR.Utilities;
43
using UnityEngine;
54

65
namespace UnityEditor.Experimental.EditorVR.Actions
@@ -19,6 +18,8 @@ public override void ExecuteAction()
1918
this.DeleteSceneObject(go);
2019
}
2120

21+
UnityEditor.Undo.IncrementCurrentGroup();
22+
2223
Selection.activeGameObject = null;
2324
}
2425
}

Actions/Icons/RedoIcon.png

Lines changed: 2 additions & 2 deletions
Loading

Actions/Icons/UndoIcon.png

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)