UMG: Add flag to call UserWidget::OnInitialized. It would be preferable to not have that flag, like PreConstruct, Construct and Destruct but there is too much deprecation to handle.

#jira UE-191195
#rb editor-ui-systems

[CL 27268113 by patrick boutot in ue5-main branch]
This commit is contained in:
patrick boutot
2023-08-22 08:36:45 -04:00
parent 8a25b56ec2
commit 6e1d229dd7
8 changed files with 56 additions and 37 deletions
@@ -1124,6 +1124,8 @@ void FWidgetBlueprintCompilerContext::FinishCompilingClass(UClass* Class)
}
}
BPGClass->bCanCallInitializedWithoutPlayerContext = WidgetBP->bCanCallInitializedWithoutPlayerContext;
Super::FinishCompilingClass(Class);
CA_ASSUME(BPGClass);