Files
UnrealEngine/Engine/Source/Editor/UnrealEd/Private/EditorUndoClient.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -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);
}
}