You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none [CL 8614014 by Chris Gagnon in Main branch]
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "GameFramework/Actor.h"
|
||||
#include "Editor.h"
|
||||
#include "Engine/Texture2D.h"
|
||||
#include "Toolkits/AssetEditorManager.h"
|
||||
|
||||
#include "DetailLayoutBuilder.h"
|
||||
#include "GameModeInfoCustomizer.h"
|
||||
#include "Settings/EditorExperimentalSettings.h"
|
||||
@@ -283,7 +283,7 @@ void FLightmapCustomNodeBuilder::ExecuteViewLightmap(FString SelectedLightmapPat
|
||||
UObject* LightMapObject = FindObject<UObject>(NULL, *SelectedLightmapPath);
|
||||
if ( LightMapObject )
|
||||
{
|
||||
FAssetEditorManager::Get().OpenEditorForAsset(LightMapObject);
|
||||
GEditor->GetEditorSubsystem<UAssetEditorSubsystem>()->OpenEditorForAsset(LightMapObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user