duplicating entities can now be undone / redone

This commit is contained in:
minenice55
2022-07-08 12:50:23 -04:00
parent 4d3e330f90
commit 216c50a99f
5 changed files with 91 additions and 33 deletions

View File

@ -199,7 +199,7 @@ namespace HeavenStudio.Editor
for (int i = 0; i < selectedEvents.Count; i++)
{
if (selectedEvents[i].isCreating == false)
if (!(selectedEvents[i].isCreating || selectedEvents[i].wasDuplicated))
{
result.Add(selectedEvents[i]);
}