Commit Graph

95 Commits

Author SHA1 Message Date
Dan Oconnor
96c7289b88 [UEBP-59] Optimize Blueprint loading done subsequently to initializing the blueprint action database, by decreasing the number of TObjectIterators we use to build the database.
[CL 2592248 by Dan Oconnor in Main branch]
2015-06-18 13:40:47 -04:00
Maciej Mroz
15e44a1b6e ME Optimization:
- FBPTerminal::InlineGeneratedParameter added - the result of the function is directly used as input parameter, it's not stroed in a lical variable
- FKismetFunctionContext::InlineGeneratedParameter
- MathExpressionHandler - compile (to out intermediate representation) a subgraph using "reverse polish notation" approach
- Math Expression node is not longer expanded
- VMBackend supports InlineGeneratedParameter and InlineGeneratedParameter

#codereview Nick.Whiting, Mike.Beach

[CL 2587365 by Maciej Mroz in Main branch]
2015-06-15 10:54:30 -04:00
Mike Beach
6f87cbe79b Game modules can now extend Blueprint menu filtering, and add in their own menu rejection tests.
[CL 2581938 by Mike Beach in Main branch]
2015-06-09 17:44:15 -04:00
Mike Beach
ba992fc614 [UE-9412] Fixing up Blueprint Palette tooltips so the more match the nodes they spawn (specifically focused on AddComponent nodes).
[CL 2517978 by Mike Beach in Main branch]
2015-04-20 14:26:25 -04:00
Michael Schoell
abb8124662 Keywords metadata is now localized.
Blueprint node searching now leverages localized keyword metadata for searching, so searches can now be done in the current langauge and English to find the same nodes.

#jira UE-12049 - Using translated editor, Blueprint node search returns differ for English search terms compared to search terms in the current language

#codereview justin.sargent

[CL 2517785 by Michael Schoell in Main branch]
2015-04-20 12:25:37 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Michael Schoell
63b7360ae0 Removed the Blueprint Editor's legacy node menu system.
#jira UE-13391 - Delete old BP menu system (is causing confusion)

#codereview Mike.Beach

[CL 2514361 by Michael Schoell in Main branch]
2015-04-16 11:47:54 -04:00
Ben Cosh
3b32522985 This change adds better tracking of changes in levels and worlds in order to keep the blueprint action database current.
#UE-10665 - when a sub level is removed it fails to remove any graph actions registered for itself
#UE-10962 - Blueprint level script functions are missing from action menu
#UE-7004 - Custom Events can't be called after changing level blueprint or switching maps
#Branch UE4
#Proj BlueprintGraph

#codereview Mike.Beach

[CL 2509582 by Ben Cosh in Main branch]
2015-04-11 10:23:56 -04:00
Maciej Mroz
74dd18c715 UE-7848 BP nodes are executed after the return node is reached
Function result node generates KCST_GotoReturn statement.
"The execution path doesn't end with a return node." Is now a note.

#codereview Mike.Beach, Michael.Noland

[CL 2508745 by Maciej Mroz in Main branch]
2015-04-10 15:11:43 -04:00
Mike Beach
bf76b0f36d [UE-12166] Cleaning up duplicate call-on-member node options and improving the call-on-member workflow.
[CL 2505986 by Mike Beach in Main branch]
2015-04-08 17:47:39 -04:00
Mike Beach
9b9b54f208 [UE-12898] Guarding against invalid BP action database objects (ones that were pending deletion) from being registered later with the database.
[CL 2499009 by Mike Beach in Main branch]
2015-04-01 15:47:23 -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
Mike Beach
f9b1813703 [UE-8552] The Blueprint context menu has a new pop-out sub-menu that gives the user more control over the menu's target context (which now includes the current blueprint by default).
[CL 2478872 by Mike Beach in Main branch]
2015-03-13 14:17:57 -04:00
Phillip Kavan
22dbcb6084 [UE-9032] IWCE - Hide UCS-added component instances from the Actor details view by default. Also prevent reattachment of SCS components to component instances added outside of the CDO.
change summary:
- added UBlueprintEditorSettings::bHideConstructionScriptComponentsInDetailsView to control UCS-added component visibility (default == true)
- modified SSCS_RowWidget::GetIntroducedInToolTipText() to include native/BP class name for component instances added outside of the CDO
- modified SSCS_RowWidget::OnDragEnter() to prevent reattachment to component instances added outside of the CDO
- modified SSCSEditor::Tick() to not count UCS-added components when checking consistency of component instances vs. number of nodes in the tree view when bHideConstructionScriptComponentsInDetailsView is true
- modified SSCSEditor::UpdateTree() to skip UCS-added components when bHideConstructionScriptComponentsInDetailsView is true

[CL 2464930 by Phillip Kavan in Main branch]
2015-02-27 19:56:36 -05:00
Michael Schoell
0ff06ca6ad Added Blueprint Editor Setting for enabling/disabling of the default nodes being placing in new Blueprints. They are enabled by default.
#codereview Marc.Audy

[CL 2453213 by Michael Schoell in Main branch]
2015-02-20 10:12:41 -05:00
Matthew Griffin
03c76ec428 [INTEGRATE] Change 2440652 by Dan.Oconnor@epic_3298 on 2015/02/10 18:37:40
Renamed bUseLegacyMenuSystem to bForceLegacyMenuSystem, we think some users may be 'stuck' with the old menuing system and if not we need to know why they're sticking with the old code path.

[CL 2448576 by Matthew Griffin in Main branch]
2015-02-17 08:59:28 -05:00
Matthew Griffin
280d04e676 [INTEGRATE] Change 2434174 by Dan.Oconnor@epic_3298 on 2015/02/05 16:17:50
[UE-8766] Add component nodes show up for blueprint defined components that have not been loaded

[CL 2446669 by Matthew Griffin in Main branch]
2015-02-16 03:50:03 -05:00
Ben Marsh
17bfcb348b [INTEGRATE] Change 2415745 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/22 15:26:02
UE-7951 - BP - Fixing variables becoming deselected after compile.
	UE-7966 - BP - Fixing variables becoming deselected after changing a property.
	UE-8059 - BP - Level Blueprint Default layout now matches the new unified layout.
	UE-8056 - BP - Close Other Tabs, now effects the Viewport Tab.

[CL 2419554 by Ben Marsh in Main branch]
2015-01-26 19:08:49 -05:00
Ben Marsh
4d5c52456e [INTEGRATE] Change 2411381 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/19 16:39:31
Editor - Adding the unified blueprint editor view.  Combines all the modes into a single blueprint editor.  Still requires being enabled through the experimental option in the editor.

[CL 2419336 by Ben Marsh in Main branch]
2015-01-26 17:51:00 -05:00
Dan Oconnor
700b762cc9 FBlurpint::OnChanged split into OnCompiled and OnChanged. Only difference is that we don't call RefreshEditors in the case of OnCompiled (we manually update displayed error information on the graph nodes)
Added Stats
Fixed bad delegate logic in BlueprintActionDatabase

[CL 2407793 by Dan Oconnor in Main branch]
2015-01-15 15:57:51 -05:00
Steve Robb
0756ef15b9 Delegate comparisons deprecated, lots of other associated code deprecated, and lots of warning fixups:
* Multicast delegate Add* calls now return FDelegateHandles, and Remove* calls are now all deprecated, except for a new Remove function which takes a FDelegateHandle.
* New FConsoleManager::RegisterConsoleVariableSink_Handle and UnregisterConsoleVariableSink_Handle functions which work in terms of FConsoleVariableSinkHandle.
* Timer calls which don't take FTimerHandles are deprecated.
* FTicker::AddTicker now returns an FDelegateHandle and is removed by an overloaded Remove function.
* DEFINE_ONLINE_DELEGATE* macros now define _Handle variants of the Add/Remove functions which return/take handles.
* Various other handle-based registration changes.
* Some unity build fixes.
* Some simplification of delegate code.
* Fixes for lots of existing code to use handle-based registration and unregistration.

#codereview robert.manuszewski

[CL 2400883 by Steve Robb in Main branch]
2015-01-08 09:29:27 -05:00
Mike Beach
75fd17dfcd [UE-6362] Resolved issues with prior fix (CL 2384497), where interface message nodes were not transforming the cast's new wildcard pin.
#codereview Dan.OConnor

[CL 2388858 by Mike Beach in Main branch]
2014-12-15 15:30:07 -05:00
Mike Beach
a7c03db69e Fixing up issues when defaulting to pure casts (moved setting to experimental until we can iron out all the issues).
[CL 2386171 by Mike Beach in Main branch]
2014-12-11 17:04:39 -05:00
Mike Beach
b7a33df01b [UE-6564] Fixing failing interface casts... Backing out changelist 2384497
[CL 2386085 by Mike Beach in Main branch]
2014-12-11 16:20:22 -05:00