Commit Graph

15 Commits

Author SHA1 Message Date
Mike Beach
3b1f6b681d [UE-13209] Fixing it so multigate nodes don't stomp memory (when called both inside and out of a function).
[CL 2508569 by Mike Beach in Main branch]
2015-04-10 13:43:03 -04:00
PaulEremeeff
3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04: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
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
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
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
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
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
46ddb0c8b8 (WIP) Various flow control node types now add themselves to the blueprint action database (for the new action menu system).
[CL 2214260 by Mike Beach in Main branch]
2014-07-14 13:29:38 -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
Ben Zeigler
3f7149bdb0 Merging using UE4-Fortnite-To-UE4 Up to Changelist #2080066
[CL 2082174 by Ben Zeigler in Main branch]
2014-05-22 14:14:52 -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