Commit Graph

766 Commits

Author SHA1 Message Date
Chris Wood
5707adde06 Fixed titles on Material editor nodes to update when the pin connections change.
[UE-15352] - Math Nodes are not updating on input

#change NodeConnectionListChanged() method in UMaterialGraphNode now clears the visualization cache on the schema triggering all FText attributes on the node's widgets to update.

[CL 2549543 by Chris Wood in Main branch]
2015-05-13 16:26:28 -04:00
Mike Beach
91c4a8edb6 [UE-11595] Making sure we update the BlueprintActionDatabase when a child class's skeleton gets recompiled (to keep UI from getting out of date).
[CL 2547553 by Mike Beach in Main branch]
2015-05-12 14:04:20 -04:00
Michael Schoell
bbe141dcda Splitting pins on the Function Result node will no longer compile those pins as result pins.
#jira UE-7513 - Split Struct Pin on a Function output will return a compiler error

[CL 2547500 by Michael Schoell in Main branch]
2015-05-12 13:33:07 -04:00
Michael Schoell
91c1415726 Can set Function and Macro graph metadata for CompactNodeTitle and Keywords.
Changed the StandardMacros Increment, Decrement, and Negate functions to use this metadata and removed the code forcing them to appear as compact nodes from UK2Node_MacroInstance.

Compact Node Title will force nodes to display as Compact Nodes if set. This information is also appended to the Keywords, no need to set in the Keywords as well.

Keywords makes nodes easier to find.

#jira UE-14499 - Setting Function/Macro graph Keyword and Compact Title metadata

[CL 2545723 by Michael Schoell in Main branch]
2015-05-11 14:14:40 -04:00
Michael Schoell
b8494bb32c Can duplicate macro graphs in the My Blueprint window.
#jira UE-15063 - Enable duplication of Macros

[CL 2545685 by Michael Schoell in Main branch]
2015-05-11 13:54:10 -04:00
Michael Schoell
db9c8e2240 UProperty and UFunction metadata for Category can now be localized and have improved FText usage throughout the editor (Blueprints, Behavior Trees, Materials, etc).
Big conversion of FStrings and FNames to FText.

Version bump to move some MaterialFunction UProperty from a TArray<FString> to TArray<FText> (some Engine assets are older than being allowed to auto-convert the UProperty)

Auto conversion of FName to FText (and back) now supported (as well as TArrays of those types).

Searching categories by both the localized string and the source string is now supported in Blueprints.

#jira UE-14481 - We are missing ability to translate node categories

#codereview Justin.Sargent

[CL 2542875 by Michael Schoell in Main branch]
2015-05-08 10:46:42 -04:00
Michael Schoell
29ede7479b Connecting function result node array pins to a reroute node will no longer prevent the node from compiling with all it's output parameters.
K2Node_Knot (Reroute node) is now considered pure and will not be pruned during Skeleton compiles.

#jira UE-12879 - Adding a Reroute node to a function's array output will cause the Function node to be missing the output

[CL 2541536 by Michael Schoell in Main branch]
2015-05-07 16:17:11 -04:00
Marc Audy
96c57010be Remove unsupported gestures from EKeys
Made keys that are not blueprint bindable not selectable via the key selector dropdowns
Made supported gesture keys blueprint bindable
Added mechanism to organize keys in to more categories than just gamepad, keyboard, and mouse
Moved motion, gesture, android, steam, and xbox one keys in to their own menu categories

[CL 2539546 by Marc Audy in Main branch]
2015-05-06 13:57:18 -04:00
Maciej Mroz
94197986df GetBaseStructure was replaced with TBaseStructure<>::Get()
Related to: https://udn.unrealengine.com/questions/244398/blueprint-struct-with-vector-member-crashes-editor.html

#codereview Robert.Manuszewski, Jaroslaw.Palczynski, Nick.Whiting

[CL 2538645 by Maciej Mroz in Main branch]
2015-05-05 23:07:23 -04:00
Maciej Mroz
d80b9cc20e - Proper handling for const ref user defined pin
- VER_UE4_SERIALIZE_PINTYPE_CONST
- Refactor: UEdGraphNode::CreatePin

#codereview Mike.Beach, Nick.Whiting

[CL 2536849 by Maciej Mroz in Main branch]
2015-05-04 22:49:49 -04:00
Dan Oconnor
3d3d7c38f8 [UE-14682] Fixed erronious warning being generated when an object reference was cast to an interface
[CL 2536733 by Dan Oconnor in Main branch]
2015-05-04 19:50:33 -04:00
Maciej Mroz
0d2614fa1b Call Function nodes are properly refreshed after a function signature was changed.
Unnecessary "MarkBlueprintAsStructurallyModified" are removed.

UE-14593 Updating the output of a function does not update the instance placed in the EventGraph

#codereview Mike.Beach, Michael.Schoell

[CL 2535363 by Maciej Mroz in Main branch]
2015-05-03 21:59:18 -04:00
Maciej Mroz
18035166ac UE-14706 Need a way to abort a UK2Node_BaseAsyncTask node
#codereview Mieszko.Zielinski

[CL 2532969 by Maciej Mroz in Main branch]
2015-04-30 20:45:10 -04:00
Maciej Mroz
2a4acc4a2a A warning when a event has output (non-const) parameter.
UE-10836 Blueprint Interfaces cannot pass by reference between two blueprints

[CL 2529627 by Maciej Mroz in Main branch]
2015-04-28 21:49:03 -04:00
Maciej Mroz
8ee2a47122 UE-14582 Many warnings about bSelfContext == true, but no scope supplied opening QA-Blueprints
#codereview Mike.Beach, Marc.Audy

[CL 2529278 by Maciej Mroz in Main branch]
2015-04-28 17:43:29 -04:00
Michael Schoell
75062929e3 Added alias for ATAN to the MathExpression node so ARCTAN is also supported.
#jira UE-11570  - ATan is not available in a Math Expression

[CL 2528585 by Michael Schoell in Main branch]
2015-04-28 11:36:35 -04:00
Michael Schoell
a2863038dc Fixed some dangerous localizable strings and improved Blueprint function/event node title localization support.
#jira UE-14414 - Japanese node labels are not displayed properly

[CL 2528578 by Michael Schoell in Main branch]
2015-04-28 11:31:15 -04:00
Mike Beach
4be3e2524c [UE-11455] Fixing up some Blueprint breaking issues that were caused by upgrading a project to 4.7/4.8
* Preventing variable object type changes from breaking pin connections (when the type was changed to a super type)
    * Turning "wasted cast" errors into node warnings.
    * ValidateVariableNames() now walks the whole super chain to look for conflicting property names
    * Added a warning to the SpawnActor node (to catch when users are passing a null class)

[CL 2527127 by Mike Beach in Main branch]
2015-04-27 12:55:58 -04:00
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
Maciej Mroz
4d804326e0 K2Nodes::HasExternalBlueprintDependencies and K2Nodes::HasExternalUserDefinedStructDependencies were changed into HasExternalDependencies and can return native structs
[CL 2525803 by Maciej Mroz in Main branch]
2015-04-25 17:47:39 -04:00
Maciej Mroz
ee6d70dfa1 UE-13981 Input pins of BP node are not updated after a hot reload
#codereview Robert.Manuszewski

[CL 2525773 by Maciej Mroz in Main branch]
2015-04-25 16:18:36 -04:00
Maciej Mroz
c26fa990d1 Foix for shadow local variable
[CL 2525348 by Maciej Mroz in Main branch]
2015-04-24 21:49:17 -04:00
Maciej Mroz
1b5607713c Many fixes related to EventDispatcher:
UE-13190 Cannot Delete Event Dispatcher inside of a child blueprint when the parent has an event dispatcher as well
Parameter "const FName&" was changed into "const FName" in some functions in BlueprintEditorUtils.
Fix for TRASHCLASS_ crash in UBlueprintEventNodeSpawner.
In ResolveSimpleMemberReference the GUID is primary data, the Name is secondary.

#codereview Mike.Beach

[CL 2525284 by Maciej Mroz in Main branch]
2015-04-24 20:30:36 -04:00
Michael Schoell
ee4793e6e9 Switch On String node will obey case insensitivity by default as the details view says it is set to.
#jira UE-14225 - 'Is Case Sensitive' option on the Switch on Sting node doesn't toggle correctly

[CL 2524709 by Michael Schoell in Main branch]
2015-04-24 14:26:51 -04:00
Michael Schoell
25550afda3 "Convert to impure Get" menu option for Variable Get nodes now listed as "Convert to Validated Get"
#jira UE-14385 - Rename "Convert to impure Get" menu option to something more explanatory

[CL 2524474 by Michael Schoell in Main branch]
2015-04-24 11:55:52 -04:00