Commit Graph

29 Commits

Author SHA1 Message Date
Michael Schoell
a2863038dc Fixed some dangerous localizable strings and improved Blueprint function/event node title localization support.
#jira UE-14414 - Japanese node labels are not displayed properly

[CL 2528578 by Michael Schoell in Main branch]
2015-04-28 11:31:15 -04:00
Maciej Mroz
4d804326e0 K2Nodes::HasExternalBlueprintDependencies and K2Nodes::HasExternalUserDefinedStructDependencies were changed into HasExternalDependencies and can return native structs
[CL 2525803 by Maciej Mroz in Main branch]
2015-04-25 17:47:39 -04:00
Michael Schoell
abb8124662 Keywords metadata is now localized.
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]
2015-04-20 12:25:37 -04:00
Michael Schoell
ece860ea64 Blueprint Call Function nodes will now display localized function names.
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]
2015-03-27 12:54:58 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Marc Audy
d67a694c69 Move member reference out of K2Node and make it usable elsewhere
[CL 2477135 by Marc Audy in Main branch]
2015-03-12 14:17:48 -04:00
Matthew Griffin
2e6b022da0 [INTEGRATE] Change 2440547 by Ben.Cosh@BCosh_Home2 on 2015/02/10 17:50:03
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]
2015-02-17 08:53:15 -05:00
Jeff Farris
565b5ccb3d Merged pull request 703 (https://github.com/EpicGames/UnrealEngine/pull/703/) to mainline.
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]
2015-01-15 12:10:46 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Phillip Kavan
98c8d00ae0 [UE-5249] BP graph context menu now filters out functions with metadata that would disallow it from being placed into the current graph context
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]
2014-12-03 17:05:59 -05:00
Mike Beach
2d68c1fd7b Setting up a call function node with a dynamic output value (determined by an class picker input). #NUX
TTP #345805

[CL 2324254 by Mike Beach in Main branch]
2014-10-09 12:04:45 -04:00
Maciej Mroz
745d0c927b ôAutoCreateRefö û is handled in UK2Node_CallFunction::ExpandNode. The additional variable is created in local scope.
#codereview Nick.Whiting, Michael.Noland

[CL 2323899 by Maciej Mroz in Main branch]
2014-10-09 06:06:10 -04:00
Phillip Kavan
222914ba50 [346160] Do not allow unsafe functions to be placed in a construction script.
- Modified CanPaletteItemBePlaced() in SBlueprintSubPalette.cpp to leverage the UEdGraphSchema_K2::CanFunctionBeUsedInClass() API.
- Modified UEdGraphSchema_K2::CanFunctionBeUsedInClass() to accept an optional parameter for a "reason" FText on failure and added localizable strings.
- Added a UK2Node_CallFunction::CanPasteHere() override impl to also invoke UEdGraphSchema_K2::CanFunctionBeUsedInClass() in order to gate function nodes on paste into a graph.

#codereview Marc.Audy,Mike.Beach

[CL 2320925 by Phillip Kavan in Main branch]
2014-10-07 00:54:59 -04:00
Marc Audy
cb0766b302 Make Event nodes strip @param from tooltip
Apply @param from function comment to Event node pins

[CL 2304895 by Marc Audy in Main branch]
2014-09-21 20:34:20 -04:00
Mike Beach
1424e089f3 Shrinking the template node database by removing the need for function/variable nodes to be cached.
[CL 2295284 by Mike Beach in Main branch]
2014-09-12 12:56:24 -04:00
Mike Beach
08da4ef223 Missed include for non-unity builds.
[CL 2283627 by Mike Beach in Main branch]
2014-09-03 18:18:08 -04:00
Mike Beach
42a36b542a Caching tooltips that use FText::Format() (optimizing for the new BP menu system).
[CL 2283623 by Mike Beach in Main branch]
2014-09-03 18:17:44 -04:00
Mike Beach
1b87f7d3ee Deprecating EdGraphNode's GetTooltip() (in exchange for one that returns FText over FString).
[CL 2283396 by Mike Beach in Main branch]
2014-09-03 18:14:09 -04:00
Mike Beach
e165ed2973 (WIP) A more robust solution to binding blueprint actions with specific objects.
[CL 2272867 by Mike Beach in Main branch]
2014-08-26 16:25:42 -04:00
Michael Schoell
d0033ce686 #summary Added a "Go to Definition" menu entry when right clicking on call function nodes in Blueprints
#change UK2Node_CallFunction::GetFunctionGraph now returns the proper graph from whatever Blueprint the function belongs to

#change Cleaned up double clicking on function call nodes

#ttp 316688 - UE4: BLUEPRINTS: Go to definition behavior should be available in the right-click context menu for function calls

[CL 2270980 by Michael Schoell in Main branch]
2014-08-25 15:47:12 -04:00
Mike Beach
e3e4fafb58 (WIP) Various node types, defining their own action menu category (for the new blueprint menu system).
[CL 2214597 by Mike Beach in Main branch]
2014-07-14 16:15:27 -04:00
Michael Schoell
788de6f349 Removed GetNodeNativeTitle from the editor entirely, now uses BuildSourceString to obtain the source string in a more reliable way.
#codereview Justin.Sargent

[CL 2114371 by Michael Schoell in Main branch]
2014-06-23 15:36:50 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Nick Whiting
6fa1a2daf8 #ue4 Blueprint node analytics update: added in system to better track interesting analytics info on a per-node class basis (for Ben Cosh)
#codereview ben.cosh

[CL 2097657 by Nick Whiting in Main branch]
2014-06-06 18:51:05 -04:00