You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #Jira none #rb no code changes made [CL 14278647 by brooke hubert in ue5-main branch]
23 lines
593 B
C++
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);
|
|
}
|