Commit Graph

23 Commits

Author SHA1 Message Date
Mike Beach
e556554c1c [UE-14230] Extending FMemberReference so it can properly represent global delegate signatures (and have a UPackage for the member's parent).
#codereview maciej.mroz, jaroslaw.palczynski

[CL 2527120 by Mike Beach in Main branch]
2015-04-27 12:46:38 -04:00
Ben Zeigler
5f90c74af8 #UE4 Remove hacky fixup code from ComponentBoundEvent as the bad code did not ship in 4.7. Revert this changelist to do local fixups for broken component bound events
[CL 2519536 by Ben Zeigler in Main branch]
2015-04-21 13:25:35 -04:00
Ben Zeigler
210f5edba9 #UE4 Fix component bound events so they correctly bind to the class that owns the delegate signature. Also try to recover from events that were saved when DelegateOwnerClass was NULL
--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2518081 by Ben.Zeigler on 2015/04/20 15:20:39.

[CL 2519532 by Ben Zeigler in Main branch]
2015-04-21 13:24:01 -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
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
Michael Schoell
4867d5b5ee Removing a check when serializing ActorBoundEvent and ComponentBoundEvent nodes that cannot be guranteed during node duplication and replacing it with an if-statement.
[CL 2438694 by Michael Schoell in Main branch]
2015-02-09 16:14:39 -05:00
Michael Schoell
dd1cd60b7a Another fix for some invalid component bound BP event nodes after previous delegates change.
[CL 2436464 by Michael Schoell in Main branch]
2015-02-06 19:59:48 -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
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -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
Nick Darnell
fe5d326af6 Blueprint/UMG - When modified the ComponentBoundEvent K2Node now invalidates its cached text. This now causes graphs to show the proper text for components and widgets that have been renamed.
[CL 2354820 by Nick Darnell in Main branch]
2014-11-10 13:50:31 -05: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
Mike Beach
fe03b8e58c Shrinking the mem footprint of the new BP menu system (moving bindings out from node spawners, passing into Invoke() instead).
[CL 2292881 by Mike Beach in Main branch]
2014-09-10 16:14:07 -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
1dfbb2d829 Optimizing BP node titles (caching any that use FText::Format(), which is slow).
[CL 2282225 by Mike Beach in Main branch]
2014-09-02 19:08: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
Mikolaj Sieluzycki
4f40175cb6 Engine.h/EnginePrivate.h cleanup - delegate bindings.
[CL 2251079 by Mikolaj Sieluzycki in Main branch]
2014-08-11 03:23:38 -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
Mikolaj Sieluzycki
bbcea54981 #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2055361 by Mikolaj Sieluzycki in Main branch]
2014-04-24 08:49:31 -04:00
Robert Manuszewski
86174fbbdf Back out changelist 2054304
[CL 2054447 by Robert Manuszewski in Main branch]
2014-04-23 20:18:11 -04:00
Mikolaj Sieluzycki
e9351fe5de #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2054304 by Mikolaj Sieluzycki in Main branch]
2014-04-23 20:15:15 -04:00
Michael Schoell
0a41fb741e #summary Can search for nodes in the palette menu in Blueprints with both the native name and the localized name.
#add Added UEdGraphNode::GetNodeNativeTitle to return a native title for a node.
#add Added UEdGraphNode::GetNodeSearchTitle to return the native and localized title for a node, together, for searching.
#add Can hold "alt" over a node (in the graph panel, or the palette) to see the native name of the node.

#ttp 331252 - Blueprints: Editor: L10N: Blueprints need to consistently show localized node names and when searching need to search both the localized name and the native name

#codereview justin.sargent

[CL 2044506 by Michael Schoell in Main branch]
2014-04-23 18:30:37 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00