Commit Graph

42 Commits

Author SHA1 Message Date
Maciej Mroz
2a4acc4a2a A warning when a event has output (non-const) parameter.
UE-10836 Blueprint Interfaces cannot pass by reference between two blueprints

[CL 2529627 by Maciej Mroz in Main branch]
2015-04-28 21:49:03 -04:00
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
cc2bcd0bf1 When pasting Event nodes in Blueprints, if there is a ghost node version of the Event, that node will be removed in favor of the newly pasted Event.
#jira UE-9643 - Unable to copy events from a Blueprint to a Level Blueprint
#jira UE-12388 - Copied event nodes, pasted into another blueprint's graph will result in a unexpected custom node

[CL 2506873 by Michael Schoell in Main branch]
2015-04-09 11:44:45 -04:00
Michael Schoell
75200e5a0d Cached node titles can now be forced to refresh without iteration over every node.
This will occur with every structural modification to any BP, node titles refresh only when visible.

[CL 2499923 by Michael Schoell in Main branch]
2015-04-02 11:16:23 -04:00
Maciej Mroz
884dc2ed93 BP: skeletal class is recompiled after Event Node was added
[CL 2498071 by Maciej Mroz in Main branch]
2015-03-31 20:53:58 -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
Marc Audy
149a75aa4f Fix compile issues
[CL 2477369 by Marc Audy in Main branch]
2015-03-12 16:02:38 -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
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Michael Schoell
b553533863 Copy and pasting of Blueprint Events works again.
Version bumped to deprecate old variables for event handling and to upgrade Blueprints to the new system.

#jira UE-9643 - Unable to copy events from a Blueprint to a Level Blueprint
#codereview Jaroslaw.Palczynski

[CL 2460807 by Michael Schoell in Main branch]
2015-02-25 15:40:36 -05:00
Jaroslaw Palczynski
2d59ef2a54 Fix for some invalid BP nodes after previous delegates change.
[CL 2435849 by Jaroslaw Palczynski in Main branch]
2015-02-06 14:54:53 -05:00
Jaroslaw Palczynski
33d90304eb Original fix by Michael Schoell:
"Fixes for multicast delegates (and K2Node_Events in general) to now use FMemberReference for finding their UFunction.

#jira UE-8391 - Crash occurs adding an Overlap Event for a component
#jira UE-7976 - Adding an on event for an actor in the level blueprint results in a crash"

I've change it a bit, so it don't require ObjectVersion.h edition as it's locked. My changes are located in:
* UK2Node_Event::Serialize
* UK2Node_ComponentBoundEvent::Serialize
* UK2Node_ActorBoundEvent::Serialize
* header K2Node_Event.h lines from 16 to 39.

This change works for now as a workaround. We will change that into proper deprecation fix after ObjectVersion.h lock lift.

[CL 2435347 by Jaroslaw Palczynski in Main branch]
2015-02-06 09:41:28 -05:00
Matthew Griffin
775905049e [INTEGRATE] Change 2426499 by Michael.Noland@mnoland-T2784-Reference on 2015/01/30 17:31:35
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]
2015-02-06 04:43:02 -05:00
Ben Marsh
54879792a9 [INTEGRATE] Change 2423646 by Phillip.Kavan@phosphor_pkavan_LT on 2015/01/29 08:21:07
Proper handling of copy/paste for legacy Event Graph nodes that override BPIE class methods declared as 'const'.

	#jira UE-8145 - Copying an old Event Node to a Blueprint with that node as an ImplementableFunction fails to compile

	change summary:
	- set up SMyBlueprint to refresh itself whenever the Blueprint it's viewing is modified (including non-structurally); fixes display of "stale" function override state so users can no longer trigger invalid actions via context menu
	- modified UK2Node_Event::CanPasteHere() to also consider implemented function overrides within the Blueprint hierarchy that are also declared as 'const' in native C++ code; prevents injection of legacy event nodes into a Blueprint that has already overridden the function the "new" way via a function graph implementation with a read-only 'self' context somewhere within its inheritance hierarchy

[CL 2425932 by Ben Marsh in Main branch]
2015-01-30 11:31:25 -05:00
Jaroslaw Palczynski
adecd4aaad UHT: Allows defining multiple UCLASSes in one header file.
[CL 2412156 by Jaroslaw Palczynski in Main branch]
2015-01-20 09:33:54 -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
bf899e68b9 BP - fix regression caused by a missing delegate pin in older event nodes
[CL 2374533 by Phillip Kavan in Main branch]
2014-12-03 02:56:40 -05:00
Phillip Kavan
e3678cb6a6 BP - event nodes no longer indicate structural changes when UGPF is enabled
#codereview Maciej.Mroz

[CL 2372799 by Phillip Kavan in Main branch]
2014-12-01 16:51:46 -05:00
Maciej Mroz
b6e9abe002 Delegate Pin in Event Node uses MemberReference. Uncompatible delegate pins cannot be connected.
#codereview Nick.Whiting, Marc.Audy

[CL 2364735 by Maciej Mroz in Main branch]
2014-11-19 05:58:05 -05:00
Mikolaj Sieluzycki
f0a67f1e2b Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356845 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:18:54 -05:00
Maciej Mroz
22281886d7 BP: ExpandNode() functions don't check "if (CompilerContext.bIsFullCompile)". The function should be called only when necessary.
[CL 2332863 by Maciej Mroz in Main branch]
2014-10-17 06:37:11 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00