Commit Graph

777 Commits

Author SHA1 Message Date
Chris Wood
e80c02ca68 Fix non-Unity error in BlueprintActionFilter.cpp
[CL 2556644 by Chris Wood in Main branch]
2015-05-19 05:50:27 -04:00
Maciej Mroz
0a58f42350 Cis Fix
[CL 2556271 by Maciej Mroz in Main branch]
2015-05-18 21:51:01 -04:00
Maciej Mroz
9772e948ab Load Asset node causes structural Blueprint change
[CL 2555985 by Maciej Mroz in Main branch]
2015-05-18 17:41:48 -04:00
Maciej Mroz
9cad5a298d More usable convert asset node.
UE-14387 Support for AssetPtr references in Blueprints

#codereview Nick.Whiting, Mike.Beach

[CL 2555879 by Maciej Mroz in Main branch]
2015-05-18 16:59:40 -04:00
Maciej Mroz
244e2f7261 Load Asset latent Function
UE-14387 Support for AssetPtr references in Blueprints

#codereview Nick.Whiting, Mike.Beach

[CL 2555878 by Maciej Mroz in Main branch]
2015-05-18 16:59:18 -04:00
Michael Schoell
017437faa4 Fixed issues with hiding categories in Blueprints.
Switched to using the UiSpec for the filter so the full (and correct) category would be parsed for hiding.

#jira UE-14624 - Cannot hide most Blueprint categories from the Class Settings

[CL 2555404 by Michael Schoell in Main branch]
2015-05-18 13:18:23 -04:00
Maciej Mroz
30831183f5 Cis fix
[CL 2553949 by Maciej Mroz in Main branch]
2015-05-15 23:47:12 -04:00
Maciej Mroz
a13cd417cc Cis Fix - declaration shadows a local variable
[CL 2553839 by Maciej Mroz in Main branch]
2015-05-15 19:19:37 -04:00
Michael Schoell
3eeb3c3ed0 Function nodes are categorized correctly again.
#jira UE-15634 - Static Function Library Categories Ignored

[CL 2553608 by Michael Schoell in Main branch]
2015-05-15 17:26:19 -04:00
Maciej Mroz
dd3c13654b UE-14387 Support for AssetPtr references in Blueprints
Early version:
- New BP types: Asset and AssetClass
- Now implicit conversion (in Blueprint) from Asset to Object
- Explicit conversion node: K2Node_ConvertAsset
- EX_AssetConst script instruction to store StringAssetReference in bytecode.

#codereview Nick.Whiting, Mike.Beach

[CL 2553506 by Maciej Mroz in Main branch]
2015-05-15 16:44:55 -04:00
Phillip Kavan
4a7e351709 [UE-15293] Fix array index out-of-bounds on ForEach* macro expansions when accessing the array element on completion.
change summary:
- modified ForEachLoop and ForEachLoopWithBreak macros to maintain a separate value for the array index that won't increment beyond the input array size
- modified UK2Node_ForEachELementInEnum to expand to a similar construct as the ForEachLoop* macros

[CL 2552057 by Phillip Kavan in Main branch]
2015-05-15 00:26:26 -04:00
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