Files
UnrealEngineUWP/Engine/Source/Programs/Shared/EpicGames.UHT
ben hoffman 162da83f7a Undo of backout 34177841 to bring back the UHT optimization. This time though, we check if "Func->GetOwnerClass()->HasAnyClassFlags(CLASS_Native)" is false to skip directly into the Native C++ implementation instead of the Script num. This sovles an issue with Python code not executing properly.
This also makes the FName we are referncing const :)

======= Orignal CL Desc. =======
Change the code generation of UHT for BP implementable events to check for any script implementations of the event.

If there are none, then just call directly into the native C++ implemenation of the function, saving us the cost of copying the function params to the script VM.

#rb dan.oconnor

#jira UE-216491

[CL 34350294 by ben hoffman in ue5-main branch]
2024-06-13 15:08:43 -04:00
..