Commit Graph

14 Commits

Author SHA1 Message Date
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
Mike Beach
af9f6a181d Setting up BlueprintEventNodeSpawner to work with custom events.
[CL 2219946 by Mike Beach in Main branch]
2014-07-15 18:16:51 -04:00
Mike Beach
401cc3baf2 Fixing broken builder, missed some includes for non-unity builds.
[CL 2215319 by Mike Beach in Main branch]
2014-07-14 19:56:30 -04:00
Mike Beach
7923e88220 (WIP) Various standalone node types, adding themselves to the blueprint action database (for the new action menu system).
[CL 2214584 by Mike Beach in Main branch]
2014-07-14 16:05:25 -04:00
Michael Schoell
adad3e521a Custom events are now searchable by name in Find-in-Blueprints
#ttp 340065 - BLUEPRINT: Unable to search custom event name

[CL 2131357 by Michael Schoell in Main branch]
2014-07-03 14:28:39 -04:00
Michael Schoell
788de6f349 Removed GetNodeNativeTitle from the editor entirely, now uses BuildSourceString to obtain the source string in a more reliable way.
#codereview Justin.Sargent

[CL 2114371 by Michael Schoell in Main branch]
2014-06-23 15:36:50 -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
Michael Noland
f128b2b7a0 Blueprints: Fixed crash on load when refreshing an interface during compile-on-load
#codereview Nick.Whiting

[CL 2101061 by Michael Noland in Main branch]
2014-06-10 18:09:47 -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
Mikolaj Sieluzycki
bbcea54981 #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2055361 by Mikolaj Sieluzycki in Main branch]
2014-04-24 08:49:31 -04:00
Robert Manuszewski
86174fbbdf Back out changelist 2054304
[CL 2054447 by Robert Manuszewski in Main branch]
2014-04-23 20:18:11 -04:00
Mikolaj Sieluzycki
e9351fe5de #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2054304 by Mikolaj Sieluzycki in Main branch]
2014-04-23 20:15:15 -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
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00