Fixed ensure when compiling a blueprint interface after changing a function signature

#rb Phillip.Kavan
#jira UE-68989

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: dan.oconnor
#ROBOMERGE-SOURCE: CL 4861337 via CL 4865423 via CL 4873022
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4884328 by dan oconnor in Dev-Networking branch]
This commit is contained in:
dan oconnor
2019-02-04 12:27:41 -05:00
parent f04ce1caad
commit 8a6e01f442
@@ -3987,14 +3987,21 @@ void FKismetCompilerContext::CompileClassLayout(EInternalCompilerFlags InternalF
}
}
// Make sure that this blueprint is up-to-date with regards to its parent functions
FBlueprintEditorUtils::ConformCallsToParentFunctions(Blueprint);
{
// the following calls may mark the blueprint as dirty, but we know that these operations just cleaned up the BP
// so dependencies can still be considered 'up to date'
TGuardValue<bool> LockDependenciesUpToDate(Blueprint->bCachedDependenciesUpToDate, Blueprint->bCachedDependenciesUpToDate);
// Conform implemented events here, to ensure we generate custom events if necessary after reparenting
FBlueprintEditorUtils::ConformImplementedEvents(Blueprint);
// Make sure that this blueprint is up-to-date with regards to its parent functions
FBlueprintEditorUtils::ConformCallsToParentFunctions(Blueprint);
// Conform implemented events here, to ensure we generate custom events if necessary after reparenting
FBlueprintEditorUtils::ConformImplementedEvents(Blueprint);
// Conform implemented interfaces here, to ensure we generate all functions required by the interface as stubs
FBlueprintEditorUtils::ConformImplementedInterfaces(Blueprint);
}
// Conform implemented interfaces here, to ensure we generate all functions required by the interface as stubs
FBlueprintEditorUtils::ConformImplementedInterfaces(Blueprint);
// Run thru the class defined variables first, get them registered
CreateClassVariablesFromBlueprint();