Files
UnrealEngineUWP/Engine/Source/Editor/ContentBrowser/Private/ContentBrowserMenuContexts.cpp
aurel cordonnier 8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00

15 lines
350 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ContentBrowserMenuContexts.h"
#include "SContentBrowser.h"
FName UContentBrowserToolbarMenuContext::GetCurrentPath() const
{
if (TSharedPtr<SContentBrowser> Browser = ContentBrowser.Pin())
{
return *Browser->GetCurrentPath(EContentBrowserPathType::Virtual);
}
return NAME_None;
}