Commit Graph

23 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
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
Michael Schoell
9cfb1acf4d Expanding macros with illegally placeable nodes in the context of the current graph will no longer crash.
Assign and temporary variable nodes can now be pasted into any graph with a supporting schema. Drag and drop from palette and context menu will not allow these nodes still.

When dragging and dropping nodes from the palette, if the node cannot be pasted or it is not compatible with the graph, it will not be droppable.

#jira UE-6234 - Expand Node crashes engine

[CL 2383820 by Michael Schoell in Main branch]
2014-12-10 12:43:55 -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
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
Steve Robb
dc958ba860 Variadic template implementation of delegates.
* Variadic version is compiler-switched on variadic template support.
* Variadic version doesn't repeatedly include lots of the same headers to generate code.
* Tidying up of some original delegate stuff.
* Removed return type from lambda in K2Node_TemporaryVariable which was causing a Clang ICE.
* TTuple, TIntegerSequence and associated functionality - generic, but currently only implementation details of delegates and not yet for use in general code because there is no non-variadic version of them.
* MessageRouter and MessageTracer updated to use an actual delegate instead of implementation-specific identifiers.
* TTypeWrapper and TUnwrapType added to aid 'recursive' template definitions.
* C4373 disabled on VC - was only hitting this warning during development, but it's good to disable it anyway, as it's a 'this code is now standard' warning.

#codereview robert.manuszewski,mike.fricker,max.preussner,gareth.martin

[CL 2312735 by Steve Robb in Main branch]
2014-09-29 07:29:14 -04:00
Maciej Mroz
f32d2a3583 Local Graph Varaibles. An early version of function FEventGraphUtils::PinRepresentsSharedTerminal, that tells if a pin represetns a terminal, that is truly shared. If not, it will be added to local varaibles.
Creating Terminals was slightly refactored.

#codereview Nick.Whiting, Michael.Noland

[CL 2311113 by Maciej Mroz in Main branch]
2014-09-26 11:32:41 -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
Mike Beach
c5fc7a6cf8 Enum/Struct spawners can now be favorited in the new menu system.
[CL 2301367 by Mike Beach in Main branch]
2014-09-17 14:57:06 -04:00
Michael Schoell
cd5a912e2d Temporary variables are now only allowed in macro graphs.
[CL 2298305 by Michael Schoell in Main branch]
2014-09-15 12:31:29 -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
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
768b7801d9 Adding a new method to graph nodes that determines if that node is compatible with certain graphs (split out functionality from CanPasteHere() so we can leverage it in the new blueprint menu system).
[CL 2242673 by Mike Beach in Main branch]
2014-08-04 12:39:34 -04:00
Mike Beach
4c0945080b Fixing broken builder, missed some includes for non-unity builds.
[CL 2214894 by Mike Beach in Main branch]
2014-07-14 16:30:29 -04:00
Mike Beach
76eec84eba (WIP) Standalone, variable centric nodes now adding themselves to the blueprint action database (for the new action menu system).
[CL 2214315 by Mike Beach in Main branch]
2014-07-14 14:20:04 -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
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