Second pass on Editor Context

#jira UE-150705
#rb patrick.enfedaque
#preflight 626fe655645c64f3a2426e06

[CL 20008791 by Richard Malo in ue5-main branch]
This commit is contained in:
Richard Malo
2022-05-02 11:00:12 -04:00
parent ee91bd1bff
commit dffb5b9557
10 changed files with 169 additions and 57 deletions
@@ -688,6 +688,7 @@ public:
// Current Level
SNew(SVerticalBox)
+ SVerticalBox::Slot()
.Padding(0.0f, 0.0f, 2.0f, 0.0f)
.AutoHeight()
[
SNew(STextBlock)
@@ -828,7 +829,7 @@ bool ULevelEditorSubsystem::GetActorEditorContextDisplayInfo(UWorld* InWorld, FA
const bool bIsVisible = InWorld && (InWorld->GetCurrentLevel()->OwningWorld->GetLevels().Num() > 1) && (!InWorld->IsPartitionedWorld() || (InWorld->GetCurrentLevel() != InWorld->PersistentLevel));
if (bIsVisible)
{
OutDiplayInfo.Title = TEXT("Current Level");
OutDiplayInfo.Title = TEXT("Level");
OutDiplayInfo.Brush = FSlateIconFinder::FindIconBrushForClass(UWorld::StaticClass());
return true;
}