Files
UnrealEngineUWP/Engine/Source/Editor/LevelAssetEditor/Private/ULevelAssetEditor.cpp
brooke hubert a2b8817a57 Remove unnecessary nesting of module files for Level Asset Editor.
#rnx
#Jira none
#rb no code changes made

[CL 14278647 by brooke hubert in ue5-main branch]
2020-09-09 09:58:00 -04:00

23 lines
593 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ULevelAssetEditor.h"
#include "LevelAssetEditorToolkit.h"
#include "Engine/Level.h"
#include "InteractiveToolsContext.h"
void ULevelAssetEditor::GetObjectsToEdit(TArray<UObject*>& InObjectsToEdit)
{
InObjectsToEdit.Add(NewObject<ULevel>(this, NAME_None, RF_Transient));
}
TSharedPtr<FBaseAssetToolkit> ULevelAssetEditor::CreateToolkit()
{
if (!InteractiveToolsContext)
{
InteractiveToolsContext = NewObject<UInteractiveToolsContext>(this);
}
return MakeShared<FLevelEditorAssetToolkit>(this, InteractiveToolsContext);
}