Commit Graph

15 Commits

Author SHA1 Message Date
Maciej Mroz
22b3cfb286 BP - return node improvements:
- UE-14092 Cannot create a return node with an execution pin only for a function
- UE-7849 Being able to have multiple return nodes for a function
- minor fixes

#codereview Nick.Whiting, Mike.Beach

[CL 2595496 by Maciej Mroz in Main branch]
2015-06-22 11:19:37 -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
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
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
Michael Schoell
5f3f433198 Can drag and drop pins onto a variety of K2Node_EditablePinBase nodes to add pins to them.
Shifted a lot of pin adding functionality from Blueprint Details customizion to the nodes themselves or BlueprintEditorUtils.

#jira UE-11334 - Dragging a pin to a node that can add pins (function entry/exit, custom events...) should add a pin of the type to the node.

[CL 2497224 by Michael Schoell in Main branch]
2015-03-31 10:32:10 -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
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Marc Audy
94e61448f7 Bring minimum engine version up to 214
Remove UE3 version

[CL 2376068 by Marc Audy in Main branch]
2014-12-04 11:18:08 -05:00
Michael Schoell
3c14989ee1 Macros will allow latent functions to be added and functions will no longer allow macros with latent functions to be added.
#ttp 332475 - BLUEPRINTS: Allow macros to support latent actions

[CL 2270793 by Michael Schoell in Main branch]
2014-08-25 13:56:40 -04:00
Ben Cosh
0f8d9ef7d3 Added the ability to flag custom events as CallInEditor and extended the main editor actor details view to provide a drop list in the blueprints to call valid meta tagged functions.
#TTP 337860 - Expose flagged BlueprintEvents as buttons in the Details panel that can be run in-editor
#Branch UE4
#Proj Engine, DetailsCustomization, Kismet, Kismetcompiler, BlueprintGraph

#Change Added FName FBlueprintMetadata::MD_CallInEditor as "CallInEditor"
#Change Added bool UProperty UK2Node_CustomEvent::bCallInEditor to enable call in editor states to be serialised with UK2Node_CustomEvent
#Change Modified FBlueprintGraphActionDetails::CustomizeDetails to add support for the CallInEditor tickbox.

#Change Modified UK2Node_CustomEvent::GetPaletteIcon to return a different node icon when call in editor is enabled.
#Added new icon GraphEditor.CallInEditorEvent_16x for the node corner icons and the blutility combo menu.

#Change Added FKismetUserDeclaredFunctionMetadata::bCallInEditorProperty to help propagate call in editor setting from customevent node's to compiler generated event function entry point
#Change Modified FKismetCompilerContext::CreateFunctionStubForEvent to check customevent node bCallInEditor properties and mark the generated function entry nodes as CallInEditor. This was required as a transitional phase to so the setting could be observed later during meta data generation.
#Change Modified FKismetCompilerContext::FinishCompilingFunction to check function entry points for call in editor flags in the attached FKismetUserDeclaredFunctionMetadata and add CallInEditor meta data if present.

#Change Modified AActor::ProcessEvent to allow events to be processed by the actor instance if the Function has CallInEditor meta data set to true

#Change Added a series of functions to FActorDetails to conditionally add a blutility category and a combo list ( displaying the available blutility functions from the current actor blueprint ) and a button to call the selected function on the actor selection.

ReviewedBy Chris.Wood

#codereview Nick.Whiting

[CL 2230263 by Ben Cosh in Main branch]
2014-07-24 13:30:26 -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
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
Nick Darnell
11e06b2d55 UMG - Prototype support for single handler event delegates. Fixing a bug with generated binding functions not having pins created as user pins.
[CL 2068592 by Nick Darnell in Main branch]
2014-05-09 16:33:22 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00