Blueprint node searching now leverages localized keyword metadata for searching, so searches can now be done in the current langauge and English to find the same nodes.
#jira UE-12049 - Using translated editor, Blueprint node search returns differ for English search terms compared to search terms in the current language
#codereview justin.sargent
[CL 2517785 by Michael Schoell in Main branch]
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
* Made nullptr checks consistent (the plurality of the changes are of this type)
* Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
* Removed unused variables
* Removed redundant initializations
* WidgetNavigationCustomization.cpp was fixed by the owner
* integers converted to floats where result was stored in a float
* Removed redundent null checks (e.g. before delete statements)
* Renamed variables to prevent non-obvious shadowing
* Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
* Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)
[CL 2498053 by Dan Oconnor in Main branch]
FriendlyName metadata is now deprecated and all uses have been removed, a metadata redirector has been setup.
Changed most/all current instances of FriendlyName metadata over to DisplayName.
#jira UE-12048 - Ability to translate Blueprint node names (UFunction names)
[CL 2494033 by Michael Schoell in Main branch]
-UScriptStruct::CompareScriptStruct function is accesible in other modules
-Call Function BP node works better with CustomStructureParam.
[CL 2479631 by Maciej Mroz in Main branch]
notes:
- this issue was introduced (by me) in CL# 2368059
change summary:
- modified UK2Node_CallFunction::CreatePinsForFunctionCall() to revert a previous change that incorrectly assigned the BPGC's CDO to the self pin's DefaultObject property for static functions owned by the BPGC. while that works, it creates a problem in that the CDO's class will change during compile-on-load, leaving the reference invalid and in the transient package after the load has completed.
- modified UK2Node_CallFunction::PostReconstructNode() to ensure that the self pin's DefaultObject reference is cleared if the function is owned by a BPGC in the current hierarchy
[CL 2471698 by Phillip Kavan in Main branch]
Enable CanPasteHere to check in the skeleton class for functions to prevent renamed/new functions being filtered out of the action menu.
#UE-9087 - BP variable not showing up in context menu for anonymous BP
#Branch UE4-Releases
#Proj BlueprintGraph
ReviewedBy Mike.Beach
[CL 2448566 by Matthew Griffin in Main branch]
[UE-9490] Fixing it so impure K2Nodes that derive from CallFunction nodes, don't mistakenly have their exec pins disconnected.
[CL 2440030 by Mike Beach in Main branch]
Editor: Replace ad-hoc _C suffix removal with two new utilities in FBlueprintEditorUtils
- GetClassNameWithoutSuffix just removes _C (but now only for BP generated classes)
- GetFriendlyClassDisplayName looks for DisplayName metadata and potentially pulls a nice localized display name if one is available, falling back to removing _C when necessary
[CL 2435096 by Matthew Griffin in Main branch]
Includes
- Several AActor functions became pure (GetDistanceTo, et al)
- K2Node_CallFunction will auto-rewire execution pins when a node converts from impure to pure.
Thanks bozaro!
#github
[CL 2407421 by Jeff Farris in Main branch]
Pasting local or variable nodes into graphs with local variables of the same name will have them reference the local variable automatically.
#jira UE-6658 - BLUEPRINTS: Can copy/paste local var nodes outside the function
[CL 2391108 by Michael Schoell in Main branch]
change summary:
- reverted previous change to UK2Node_AddComponent; will need to be applicable to all derived UK2Node_CallFunction types
- modified UK2Node_CallFunction::CanPasteNode() to bypass the general function placement check for derived UK2Node_CallFunction types (derived types are considered placeable if compatible)
- modified CanPaletteItemBePlaced() in SBlueprintSubPalette.cpp to skip over the general function placement check for derived UK2Node_CallFunction types (and not just UK2Node_AddComponent)
#codereview Mike.Beach, Michael.Schoell
[CL 2378394 by Phillip Kavan in Main branch]
change summary:
- implemented a UK2Node_CallFunction::IsActionFilteredOut() override
- made 'Function' param 'const' in UEdGraphSchema_K2::CanFunctionBeUsedInGraph()
#codereview Mike.Beach, Michael.Schoell
[CL 2375287 by Phillip Kavan in Main branch]