Commit Graph

24 Commits

Author SHA1 Message Date
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
Marc Audy
f2bda7c975 Fix shadowed variables
[CL 2468158 by Marc Audy in Main branch]
2015-03-03 17:20:43 -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
c140859386 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356914 by Mikolaj Sieluzycki in Main branch]
2014-11-12 06:03:49 -05:00
Michael Schoell
b37c1ef50f When adding/removing/renaming action or axis mappings in the input properties, the Blueprint database will refresh required actions.
Added an Editor Delegate to handle callback into the BlueprintActionDatabase when Action and Axis mappings are changed.

#jira UE-4388 - REGRESSION: Newly added Action Axis events cannot be placed in Blueprint

[CL 2342301 by Michael Schoell in Main branch]
2014-10-28 10:27:21 -04: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
Mike Beach
b7fff8eb54 (WIP) Fixing it so input nodes can be favorited in the new menu system (setting it up so that nodes can provide their own node signature; so we don't have to create a spawner for every kind).
[CL 2301619 by Mike Beach in Main branch]
2014-09-17 17:07:37 -04:00
Michael Schoell
b9e9535fdc Added a new MenuTitle option for nodes to reduce issues with using ListView in a variety of circumstances. Fixes issues with some nodes being displayed by their palette action name in other menu lists.
[CL 2299888 by Michael Schoell in Main branch]
2014-09-16 15:01:38 -04:00
Mike Beach
27b65e9cab Keeping nodes from spawning unessecery menu actions (was causing a big memory spike for the new menu system).
[CL 2292953 by Mike Beach in Main branch]
2014-09-10 17:09:26 -04:00
Mike Beach
a3de7b243d Optimizing the new BP menu system. Caching menu categories where we can.
[CL 2284723 by Mike Beach in Main branch]
2014-09-04 13:00:27 -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
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
1cfc231519 Handling enum/struct assets (so that the can be added into the blueprint menu database as they're created/updated).
Lots o' files!(changing UK2Node's GetMenuActions() function signature).

[CL 2269082 by Mike Beach in Main branch]
2014-08-23 20:16:29 -04:00
Mike Beach
982ec4e821 (WIP) For the new blueprint menu system, ensuring the proper animation nodes are available.
[CL 2266729 by Mike Beach in Main branch]
2014-08-21 18:50:33 -04:00
Mike Beach
1adad9aadd (WIP) Setting up input nodes for the new blueprint action menu system (nodes add themselves to the action database).
[CL 2214121 by Mike Beach in Main branch]
2014-07-14 13:19:37 -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
40aca4a242 Remove redundant headers from Blueprint module. Removed #include 'BlueprintGraphClasses.h" from BlueprintGraphDefinitions.h. Added only headers included by modules other than BlueprintGraph. Fixed compilation issues for both unity and non-unity builds.
#codereview Robert.Manuszewski

[CL 2082795 by Mikolaj Sieluzycki in Main branch]
2014-05-29 16:42:22 -04:00
Max Preussner
8fec9bafc3 Settings: moved graph editor settings into GraphEditor module; added 'Graph Editor' settings section to Settings UI
Settings specific to Anim, Blueprint and Material Editor should probably be broken out into their own settings classes in the respective modules at some point. It feels a little strange that the GraphEditor needs to be aware of specific pin and node title types. At this time I did not want to refactor the existing graph editors though, and since many of the properties are currently being shared, pulling these settings out of UEditorUserSettings is at least a good first step. In the future I would like to see settings sections for specific graph based editors instead of having a generic 'Graph Editor' section that is shared by some or all editors.

I exposed various color settings in the UI as many users seem to be quite excited about customizing their Editor. If you think that some settings should be added or removed, please feel free to make any desired changes or let me know. Thanks!

#CodeReview: nick.whiting

[CL 2079703 by Max Preussner in Main branch]
2014-05-20 19:00:53 -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
Mike Beach
b6135239c9 TTP #325423: Making it so we correctly identify which execution-pin a node was triggered from.
- Wire-trace op-codes are now inserted before every statement in GotoFixupRequestMap
  - ExpandNode() now uses FKismetCompilerContext::MovePinLinksToIntermediate/CopyPinLinksToIntermediate for transfering pin links (to track pin associations)

#codereview Nick.Whiting

[CL 2040798 by Mike Beach in Main branch]
2014-04-23 17:45:37 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00