Commit Graph

112 Commits

Author SHA1 Message Date
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
63b7360ae0 Removed the Blueprint Editor's legacy node menu system.
#jira UE-13391 - Delete old BP menu system (is causing confusion)

#codereview Mike.Beach

[CL 2514361 by Michael Schoell in Main branch]
2015-04-16 11:47:54 -04:00
Phillip Kavan
11982590d6 [UE-11380] Reroute nodes now function correctly in an animation graph after compiling an animation blueprint.
change summary:
- added new UEdGraphNode::IsCompilerRelevant() and UEdGraphNode::GetPassThroughPin() APIs
- added a UK2Node::GetPassThroughPin() override to return the opposing exec pin on any given exec pin, else NULL, as base node logic
- added a UK2Node_Knot::IsCompilerRelevant() override to always return false for reroute nodes (since they are always precompiled out)
- added a UK2Node_Knot::GetPassThroughPin() override to always return the opposing pin given either the input or output pin, else NULL
- added new FBlueprintEditorUtils::GetCompilerRelevantNodes() and FBlueprintEditorUtils::FindFirstCompilerRelevantNodes() utility methods
- modified UAnimGraphNode_Base::GetLinkIDLocation() to look for the first linked "compiler-relevant" node rather than the literal first linked node

#codereview Michael.Noland

[CL 2508464 by Phillip Kavan in Main branch]
2015-04-10 12:36:02 -04:00
Benn Gallagher
1896f945aa Fix step forwards/backwards not snapping to frames in montages.
[CL 2508309 by Benn Gallagher in Main branch]
2015-04-10 09:51:35 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
PaulEremeeff
c9a246101e PR #1013: Fixing PVS-Studio warnings. (Contributed by PaulEremeeff)
Some files have been omitted and will be submitted with modified corrections

[CL 2505544 by Dan Oconnor in Main branch]
2015-04-08 14:46:25 -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
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -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
Lina Halper
ddffe4fb9f Merging
//depot/UE4-Orion/Engine/Source/Editor/AnimGraph/...

to //depot/UE4/Engine/Source/Editor/AnimGraph/...

[CL 2486884 by Lina Halper in Main branch]
2015-03-20 18:05:34 -04:00
Jaroslaw Palczynski
28fc7695a0 Missing chages for 2481343.
Some P4V problem with backing out large changelist missed some files.

#codereview Robert.Manuszewski

[CL 2481366 by Jaroslaw Palczynski in Main branch]
2015-03-17 06:17:32 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Phillip Kavan
e67b6775e3 [UE-11369] Fix potential crash on select of existing "Two Bone IK" nodes in an animation graph.
- introduced in CL# 2443244 (Fix manipulation of transforms on bone control nodes so that selecting a node doesn't overwrite its conents)
- seems like existing (older) nodes could potentially have serialized an empty default value string for the vector location pins; fixed by checking for that and allowing it to fall back to the zero vector in that case

#codereview Martin.Wilson

[CL 2471588 by Phillip Kavan in Main branch]
2015-03-06 16:33:54 -05:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05: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
Marc Audy
5a9d2471d9 Fix shadowed variables
[CL 2456886 by Marc Audy in Main branch]
2015-02-23 16:18:13 -05:00
Laurent Delayen
e586cd3a8f Dev to Main integration from CL #2446290
[CL 2456855 by Laurent Delayen in Main branch]
2015-02-23 15:58:14 -05:00
Michael Noland
e36f1cb006 Animation: Add a prototype for automagic transition rules when there is a single player node in the source graph
- Defines the can take transition rule as Player.CurrentTime + CrossfadeDuration >= Player.SequenceLength
- Opt-in on the transition node, when enabled the BP transition rule is ignored and the automatic rule is evaulated directly in C++
[INTEGRATE] Change 2454970

[CL 2455144 by Michael Noland in Main branch]
2015-02-21 20:06:12 -05:00
Marc Audy
e5ba044eb0 Fix shadowed variables
[CL 2451810 by Marc Audy in Main branch]
2015-02-19 12:13:52 -05:00
Matthew Griffin
2a70e91797 [INTEGRATE] Change 2443244 by Martin.Wilson@Pitbull-MWilson on 2015/02/12 07:06:56
Fix manipulation of transforms on bone control nodes so that selecting a node doesn't overwrite its conents

	#codereview Michael.Noland

[CL 2449794 by Matthew Griffin in Main branch]
2015-02-18 03:59:11 -05:00
Matthew Griffin
2d19921ebd [INTEGRATE] Change 2440548 by Dan.Oconnor@epic_3298 on 2015/02/10 17:50:56
[UE-9334] Fix for crash that occured when working with anim blueprints and the old menuing system. Origin was 2340250

[CL 2448569 by Matthew Griffin in Main branch]
2015-02-17 08:54:08 -05:00
Martin Wilson
9f07fc3c71 Fix crash in bone control widget when blueprint needs recompiling
[CL 2441883 by Martin Wilson in Main branch]
2015-02-11 12:30:09 -05:00
Lina Halper
5c5b423292 #ANIM: Blueprint creation
- Make sure it doens't refresh parent classes based on skeleton - very confusing
- Exclude SingleNodeInstance and PreviewInstance to be not BP-table - it won't work.

#code review: Martin.Wilson

[CL 2428689 by Lina Halper in Main branch]
2015-02-02 16:26:55 -05:00
Graeme Thornton
b7f66f40b8 Change many string replace/compare/find operations which use a fixed case search pattern to be case sensitive. This avoids unnecessary expensive string case operations when searching for things like dots and slashes.
[CL 2425834 by Graeme Thornton in Main branch]
2015-01-30 10:52:42 -05:00