Files
UnrealEngineUWP/Engine/Source/Editor/UnrealEd/Private/EditorUndoClient.cpp
Thomas Sarkanen de2be528ca Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown nick.penwarden

[CL 11214797 by Thomas Sarkanen in Main branch]
2020-02-04 11:06:23 -05:00

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);
}
}