Commit Graph

33 Commits

Author SHA1 Message Date
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
Michael Schoell
3f52b7d131 In "Region and Language" you can toggle localization of node and pins in all graph editors.
SNodeTitle no longer compares cached node titles to the title the node wants to be to determine a reconstruction, it checks if the schema wants to purge all cached node titles.

#jira UE-8371 - Change Editor language while leaving Blueprint Editor node & pin names in English

[CL 2508681 by Michael Schoell in Main branch]
2015-04-10 14:37:56 -04:00
Nick Darnell
ba4e546cff BP - The CustomEvent K2 Node now properly handles generating the proper signature when dragged from a standard, non-multicast delegate pin.
#codereview mike.beach sammy.james

[CL 2505938 by Nick Darnell in Main branch]
2015-04-08 17:24:21 -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
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
Michael Schoell
aa79e0ba91 Changing a custom event's replication will immediately update the node's title.
Added a function to EdGraphNode to help force refresh of titles. This needs to be overriden on a per node basis.

#jira UE-11237 - Custom Events set to Replicate do not show the replication information on the node until the Editor is restarted

[CL 2471343 by Michael Schoell in Main branch]
2015-03-06 12:45:21 -05:00
Dan Oconnor
2efabfa541 Back out changelist 2411626
I fixed the crash found in the material editor, but discovered some rendering issues. Backing this out for now.

[CL 2412583 by Dan Oconnor in Main branch]
2015-01-20 14:04:44 -05:00
Dan Oconnor
b0c9f152da We no longer refresh the graph panel when a user deletes or adds a graph node. This is a substantial improvement in responsiveness, especially when the user is editing large graphs.
[CL 2411626 by Dan Oconnor in Main branch]
2015-01-19 18:54:38 -05: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
Maciej Mroz
06e93d5425 UE-5372, UE-4893: Custom Event created from event dispatcher pin has the same signature as the ED.
#codereview Mike.Beach

[CL 2367345 by Maciej Mroz in Main branch]
2014-11-21 07:01:15 -05:00
Mikolaj Sieluzycki
f0a67f1e2b Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356845 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:18:54 -05:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Marc Audy
c72d1c03a8 Fix spelling of signature
[CL 2304887 by Marc Audy in Main branch]
2014-09-21 20:33:57 -04:00
Michael Schoell
b9e9535fdc Added a new MenuTitle option for nodes to reduce issues with using ListView in a variety of circumstances. Fixes issues with some nodes being displayed by their palette action name in other menu lists.
[CL 2299888 by Michael Schoell in Main branch]
2014-09-16 15:01:38 -04:00
Mike Beach
27b65e9cab Keeping nodes from spawning unessecery menu actions (was causing a big memory spike for the new menu system).
[CL 2292953 by Mike Beach in Main branch]
2014-09-10 17:09:26 -04:00
Mike Beach
1b87f7d3ee Deprecating EdGraphNode's GetTooltip() (in exchange for one that returns FText over FString).
[CL 2283396 by Mike Beach in Main branch]
2014-09-03 18:14:09 -04:00
Mike Beach
1dfbb2d829 Optimizing BP node titles (caching any that use FText::Format(), which is slow).
[CL 2282225 by Mike Beach in Main branch]
2014-09-02 19:08:09 -04:00
Mike Beach
1cfc231519 Handling enum/struct assets (so that the can be added into the blueprint menu database as they're created/updated).
Lots o' files!(changing UK2Node's GetMenuActions() function signature).

[CL 2269082 by Mike Beach in Main branch]
2014-08-23 20:16:29 -04:00
Mike Beach
2c37ccea19 (WIP) Adding in delegate assignment actions for the new blueprint menu system.
[CL 2255142 by Mike Beach in Main branch]
2014-08-13 16:29:51 -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
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