You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[INTEGRATE] Change 2413979 by bruce.nesbit@bnesbit_Releases on 2015/01/21 12:31:44
Added support to tutorials to allow focus on content browser asset. [CL 2419511 by Ben Marsh in Main branch]
This commit is contained in:
@@ -264,5 +264,16 @@ void STutorialOverlay::FocusOnAnyBlueprintNodes(const FTutorialWidgetContent &Wi
|
||||
FKismetEditorUtilities::BringKismetToFocusAttentionOnObject(GraphNode, false);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// if we didn't have a blueprint object to focus on, try it with a regular one
|
||||
UObject* FocusObject = FindObject<UObject>(ANY_PACKAGE, *WidgetContent.WidgetAnchor.WrapperIdentifier.ToString());
|
||||
if (FocusObject != nullptr)
|
||||
{
|
||||
TArray< UObject* > Objects;
|
||||
Objects.Add(FocusObject);
|
||||
GEditor->SyncBrowserToObjects(Objects);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user