You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
20 lines
330 B
C++
20 lines
330 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "EditorUndoClient.h"
|
|
#include "Editor.h"
|
|
|
|
FEditorUndoClient::~FEditorUndoClient()
|
|
{
|
|
if (GEditor)
|
|
{
|
|
GEditor->UnregisterForUndo(this);
|
|
}
|
|
}
|
|
|
|
FSelfRegisteringEditorUndoClient::FSelfRegisteringEditorUndoClient()
|
|
{
|
|
if (GEditor)
|
|
{
|
|
GEditor->RegisterForUndo(this);
|
|
}
|
|
} |