Commit Graph

66 Commits

Author SHA1 Message Date
jason walter
8f039b8f7d Update BP library function for loading a preset to support add / replace assets.
#jira UE-218982

[CL 35983815 by jason walter in ue5-main branch]
2024-09-03 17:31:59 -04:00
jonathan bard
f4579dc1d9 Added console command tooltips when displaying the history
Also, for the console command text box, there is now a tooltip for the command currently being typed (if it's valid), which also displays the current value for CVars (to avoid typing the variable without parameter, switch to the log window to peak at the current value and back to the console command to enter a new value)
Also added tooltips forcefields for both the edit text box and the suggestion list view

#jira none
#rb Josh.Adams

[CL 35825261 by jonathan bard in ue5-main branch]
2024-08-27 10:45:06 -04:00
elliot colp
1ff99c6831 [Console Variables Editor] Add toggle for loading presets as additive/replacement to existing list
#jira UE-134750
#rb jason.walter

[CL 33976040 by elliot colp in ue5-main branch]
2024-05-29 11:55:49 -04:00
elliot colp
b6139399df [Console Variables Editor] Enable multi-select actions
#jira UE-206430
#rb jason.walter

[CL 33975039 by elliot colp in ue5-main branch]
2024-05-29 11:26:54 -04:00
jason walter
8adcf7e870 Use the ECVF_SetByMask flag before assigning new console variable values
#jira UE-212265

[CL 33893435 by jason walter in ue5-main branch]
2024-05-24 10:12:21 -04:00
elliot colp
995d02be01 [Console Variables Editor] Cosmetic UI/UX polish
#jira UE-207616
#rb jason.walter

[CL 33878631 by elliot colp in ue5-main branch]
2024-05-23 18:34:25 -04:00
patrick boutot
a2b5613488 Slate: Deprecate SListView::ItemHeight and STreeViewItemHeight. ItemHeight and ItemWidth are only used when the panel is is as a tile or both value are assigned. With TreeView and ListView, you can't assigned both. The function are protected, a subclass of those could but it's up to them to expose the ItemHeight and ItemWidth. This behavior changed was introduced with CL 7634094.
#jira UE-210415
#rb editor-ui-systems

[CL 33370360 by patrick boutot in ue5-main branch]
2024-05-01 08:05:39 -04:00
jason walter
d2482a0f91 Do not send console variables using the render thread flag as they do not represent the game thread cvar and cannot be applied on remote clients.
#jira UE-210449
#rb jared.therriault
#rnx
#lockdown alejandro.arango

[CL 32526091 by jason walter in ue5-main branch]
2024-03-26 18:15:32 -04:00
jason walter
71e7d7fa54 Transmit how a console variable was set so it will be set with the same state when received by multi-user.
#jira UE-207421
#rb jared.therriault

[CL 32383750 by jason walter in ue5-main branch]
2024-03-20 17:46:30 -04:00
chad williams
b142869760 MoviePipeline: Polished up the UI of the two cvar-related nodes in the graph.
* The nodes were renamed to Apply Console Variable Preset and Set Console Variable.
* Both of these nodes now have helpful description text under the node title (preset asset name + num cvars in the preset, or the cvar being set and the value of that cvar).
* A details customization was added for the preset node to show all of the cvars contained within the preset asset (and provide a way to create a node overriding one of the preset's cvars).
* Another customization was added to provide cvar autocomplete for the Set Console Variable node.
* Updated SConsoleVariablesEditorCustomConsoleInputBox to provide support for committing text when focus is lost. This allows the details customization to only cue the graph to update after the user is done typing rather than after every character is entered.

#jira UE-202732
#rb Jared.Therriault, Matt.Hoffman

[CL 32232248 by chad williams in ue5-main branch]
2024-03-13 18:43:01 -04:00
rex hill
49e41f3ca8 Fix a crash on shutdown
#rnx

[CL 29575824 by rex hill in ue5-main branch]
2023-11-08 17:23:09 -05:00
rex hill
b2ed697c25 Fix ConsoleVariablesEditor crash on editor exit
#jira UE-199856
#rnx

[CL 29519572 by rex hill in ue5-main branch]
2023-11-07 09:39:32 -05:00
rex hill
c443652057 Apparently TMap<FString is no longer allowed? if you want to find by hash
#rnx

[CL 29402879 by rex hill in ue5-main branch]
2023-11-03 08:46:59 -04:00
rex hill
cdf2bc37f1 Compile deprecation warning fix
#rnx
#jira

[CL 29402117 by rex hill in ue5-main branch]
2023-11-03 08:03:29 -04:00
rex hill
66a8269573 Optimize FConsoleVariablesEditorModule, 500 ms of startup time, 500ms each reloadconfig, 4-10ms each time a cvar changes
#rnx

[CL 29401804 by rex hill in ue5-main branch]
2023-11-03 07:44:07 -04:00
rex hill
bfa7cdb6ad Crash fixes for FConsoleVariablesEditorModule
#rb aidan.mcdu

[CL 29280033 by rex hill in ue5-main branch]
2023-10-31 12:46:30 -04:00
jared therriault
46e1d2c10f Console Variables Editor:
-Fix: Console Variables Editor does not Execute "HighResShot" more than once when the Execute button is selected.

#jira UE-193709
#rb Jason.Walter

[CL 27535326 by jared therriault in ue5-main branch]
2023-08-31 16:02:28 -04:00
jared therriault
551334ed26 Console Variables Editor:
-Fix: "Show" Filters Do Not Update Cvar List

#jira UE-193868
#rb Jason.Walter

[CL 27533473 by jared therriault in ue5-main branch]
2023-08-31 15:17:36 -04:00
jared therriault
63886fc5c0 Console Variables Editor:
-Check for session before sending/receiving MU cvar change

#jira UE-192969

#rb Jason.Walter

[CL 27212717 by jared therriault in ue5-main branch]
2023-08-18 14:12:18 -04:00
rex hill
211ecb744c Fix crash on shutdown with FConsoleVariablesEditorCommandInfo accessing stale deleted IConsoleVariable
#rb aditya.ravichandran

[CL 25898325 by rex hill in ue5-main branch]
2023-06-09 13:28:38 -04:00
Dominik Peacock
a772468a93 Fix crash in ~FManagerImpl not checking for nullptr
#jira none
#rb Jason.Walter
#preflight https://horde.devtools.epicgames.com/job/641c155cee0aed1347085130

[CL 24815488 by Dominik Peacock in ue5-main branch]
2023-03-28 03:50:24 -04:00
Patrick Boutot
0c164affd0 Slate: Add ObservableArray pattern to ListView, TitleView and TreeView.The TreeView implementation only supports the new pattern for the root items. It is where we would have the most gain in performance when it is changed.
The observable array automatically notify the view when an item is added/removed from the array.
#jira UE-132673
#review https://p4-swarm.epicgames.net/reviews/23853491
#preflight 64087eaaaa00423335a0891f

[CL 24594683 by Patrick Boutot in ue5-main branch]
2023-03-10 13:11:54 -05:00
chad williams
fe2540a743 MoviePipeline: Updated the Console Variables setting to display the cvars contained within each cvar preset.
* Added a new customization to display the cvars in a preset.
* CVar enable state (within a preset) exposed via UMovieSceneConsoleVariableTrackInterface::IsConsoleVariableEnabled().
* Added UMoviePipelineConsoleVariableSetting::AddConsoleVariable() so cvar overrides can be created from a preset.

#jira UE-170949
#rb matt.hoffman
#preflight 63d98ee465738ba951fad34a

[CL 23939422 by chad williams in ue5-main branch]
2023-01-31 17:18:44 -05:00
eric renaudhoude
94727d9d6e CVar Editor: Bypass cvar change callback during automation tests.
#jira UE-173862
#rb jason.walter
#rnx
#preflight 63c6ef4e727c1c11047343bb

[CL 23742568 by eric renaudhoude in ue5-main branch]
2023-01-17 14:10:26 -05:00
chad williams
fdb73e4ac6 ConsoleVariablesEditor: Make the autocomplete widget public, and added a few features.
MRQ needs the same autocomplete widget, which is why it's being made public.

Added some settings on the widget for MRQ purposes (as well as keeping it compatible w/ existing CVE needs):
* Allow the input to be enabled/disabled.
* Allow overrides for font and hint text.
* Text can be provided, and optionally cleared upon commit.
* Provide TextChanged/Committed events.
* The widget can be hidden when focus is lost.

The input will also display a tooltip w/ the command's help text.

#jira UE-170934
#rb jared.therriault
#preflight 63c1b5d170575f8900555fe8

[CL 23684982 by chad williams in ue5-main branch]
2023-01-13 15:15:24 -05:00