You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed type incorrectness constructing when constructing TSoftObjectPtr<UBlueprint> with a UObject*.
[CL 35016160 by steve robb in ue5-main branch]
This commit is contained in:
@@ -563,7 +563,7 @@ struct FLevelInstanceMenuUtils
|
||||
;
|
||||
if (APackedLevelActor* PackedLevelActor = Cast<APackedLevelActor>(ContextLevelInstance))
|
||||
{
|
||||
if (TSoftObjectPtr<UBlueprint> BlueprintAsset = PackedLevelActor->GetClass()->ClassGeneratedBy.Get())
|
||||
if (TSoftObjectPtr<UBlueprint> BlueprintAsset = Cast<UBlueprint>(PackedLevelActor->GetClass()->ClassGeneratedBy.Get()))
|
||||
{
|
||||
FToolUIAction UIAction;
|
||||
UIAction.ExecuteAction.BindLambda([ContextLevelInstance, BlueprintAsset](const FToolMenuContext& MenuContext)
|
||||
|
||||
Reference in New Issue
Block a user