522 Commits

Author SHA1 Message Date
tiago costa
1f15f74a8c Don't replace the default local exposure settings specified in templates when creating a new project.
- for example, virtual production projects want to have local exposure disabled by default.

#rb
#jira UE-195152

#ushell-cherrypick of 27786211 by tiago.costa

[CL 27964101 by tiago costa in 5.3 branch]
2023-09-18 13:08:18 -04:00
calvin zheng
3c95a8f6a6 Fix C++ project creation error: Failed to open selected source code accessor 'Xcode'
#jira UE-189861
#rb Josh.Adams

[CL 26832494 by calvin zheng in 5.3 branch]
2023-08-03 19:02:48 -04:00
JeanMichel Dignard
8fdc653790 Filter out program projects from the project browser
#jira UE-191160
#rb julien.stjean

[CL 26752096 by JeanMichel Dignard in 5.3 branch]
2023-08-01 16:09:33 -04:00
tiago costa
078ead11d8 Change default Local Exposure settings (contrast scale set to 0.8).
- Enabled Local Exposure in new projects via project "Default Settings".
- Modified default Local Exposure values in PPV.

In order to keep PPV in existing projects unmodified, this change adds a new BranchObjectVersion so that when loading assets saved in previous engine version, the default values are set accordingly before deserialization happens.

#rb daniel.wright, marc.audy

[CL 26557337 by tiago costa in 5.3 branch]
2023-07-24 17:53:08 -04:00
yohann dossantos
ba41f5abfb - Added a per project Font display DPI setting, in order to allow using (but not being limited to) the standard 72 DPI used by most creation software (Photoshop, Figma,...). Slate will still work at 96DPI.
- Converted the font size to float, to allow specifying more precise size, and support the sizes that would be wanted at (for instance) 72 DPI, without losing information (ie rounding to the closest 96DPI int).
- Change various font caches behavior (glyph, advance, kerning...) to match behavior of Freetype, and ensure that a given size in Freetype will be stored only once in the font caches.
- Added cvar commands:
    - Slate.DumpFontCacheStats: will display the list of all font combinations used, with the number of glyphs for each combination.
    - Slate.FlushFontCache: will clear the font caches as well as the font atlases, then will invalidate all the widgets to force the cache to be refilled.
- Fixed the combo box for font typeface selection not disabled when necessary.

#tests:
- changed the Font display settings between various values and customDPI, validatet that everything was save correctly, and that the display was reacting to the value change.
- tested all the tooltips, simple, extended (ctrl + alt), and dynamic (display of the current DPI setting next to the font size).
- validated that the font atlas/cache was containing not more than one time each glyph rendered by Freetype.
- validated that the edition of the font size was still fully functionnal (spinbox, undo/redo, support of disable state,...).
- tested default value for a new project (72DPI).
- compiled Slate/SlateCore/UMG with UnsafeTypeCastWarningLevel = WarningLevel.Warning to fix warnings related to the change.
- tested in a game with latest changes from BP team (CL 26034633), ensuring that there are no regression related to the change of type (int to float) from the Font size.
- running with it in a game and UE branch for months.

#jira UE-152161
#rb patrick.boutot

[CL 26074535 by yohann dossantos in 5.3 branch]
2023-06-16 18:36:14 -04:00
joe kirchoff
581832117c Update BuildSettingVersion.Latest to V4
[CL 25881036 by joe kirchoff in ue5-main branch]
2023-06-08 16:11:38 -04:00
maxime mercier
4d418c1a14 Use new Blueprint association change for SNewClassDialog
Support new blueprint type for entity prefab

[CL 25791337 by maxime mercier in ue5-main branch]
2023-06-05 10:03:18 -04:00
brooke hubert
e62fecb8a3 Look for parent class templates too when generating class header & class cpp files
Cherrypick CL 25662803
#jira none
#rb brooke.hubert
#preflight 6476010fc02f18c8f534fb50

[CL 25677056 by brooke hubert in ue5-main branch]
2023-05-30 10:23:58 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
robert srinivasiah
8cfb3c3906 Remove OculusVR + Steam VR references
#jira UE-173787
#preflight 642d34af6a37fb35e976f51c
#rb Arciel.Rekman, Jeff.Fisher

[CL 24962180 by robert srinivasiah in ue5-main branch]
2023-04-06 23:23:09 -04:00
robert seiver
b713d5d4f8 Remove leading "/" characters in Linux filepaths being used for sorting keys so that blank projects, which use the magic string "_1" for sorting, go back to being sorted first as intended.
#jira UE-131844
#rb James.Singer
#preflight 642daa2a6a37fb35e9a0f86e

[CL 24933737 by robert seiver in ue5-main branch]
2023-04-05 15:01:19 -04:00
Jeff Fisher
64403c6f95 UE-181471 Delete SteamVR plugin.
-Deprecated in 5.1.  OpenXR should be used instead.
-A few instances of the string "SteamVR" remain.  In some case we are comparing to the OpenXR Runtime name, which remains correct.  In some we are searching input profile paths for SteamVR, which also remains correct.  VRScouting is doing the input profile path and then overriding VREditor's view of the xr plugin name, so at first glance VREditor still seems to be using SteamVR, but it actually does not depend on that (That code will likely be further refactored as time goes on).
#jira UE-181471
#preflight 64233be9803cb466e86ad33c
#review
#rb Arciel.Rekman

[CL 24825198 by Jeff Fisher in ue5-main branch]
2023-03-28 15:55:51 -04:00
alejandro aguilar
d147c97861 Added bUsesPresence as an attribute in EOS Sessions and Lobbies to retrieve it reliably instead of infering it from other data.
Wrapped new logic in config option bUseSessionPresenceAttribute.

#jira UE-179500
#review @Joe.Graf, @Rob.Cannaday, @Chris.Varnsverry, @Ryan.Hairyes, @Neil.Davidson
#preflight 6421722ac42c7fd1cb6e26bd

[CL 24800780 by alejandro aguilar in ue5-main branch]
2023-03-27 06:54:25 -04:00
christopher waters
a132db72f0 Cleaning up various include paths including removing redundant or unnecessary Public and Private paths.
[CL 24372000 by christopher waters in ue5-main branch]
2023-02-22 18:01:53 -05:00
Joe Kirchoff
18a92ca65c Update BuildSettingsVersion default for new projects
#jira UE-176989
#rb trivial
#preflight 63eebe4581646f1f2412ba51

[CL 24272958 by Joe Kirchoff in ue5-main branch]
2023-02-16 18:56:47 -05:00
aditya ravichandran
f8b7ee5555 Replace any instances of "Source Control" with "Revision Control" in text in the Editor
#rb JeanMichel.Dignard, Robb.Surridge
#preflight 637d180efa348e8480e8837e

[CL 23250808 by aditya ravichandran in ue5-main branch]
2022-11-23 11:57:50 -05:00
zach rammell
2a2d32bf63 Fix truncation warnings in GameProjectGeneration module
#jira UE-169486
#rb trivial
#preflight 636aa44e63037c10265d4c40

[CL 23033557 by zach rammell in ue5-main branch]
2022-11-08 13:52:08 -05:00
Julien StJean
68b38b94f7 Fix an issue with the project dialog temporaly showing the wrong options for a template.
By switching the notification mode of tiles, we avoid the weird state that appends when the selection changed but we didn't recive the selection change notification yet.

#jira UE-168857
#preflight 636977ca450be1d9f8f96e09
#rb Lauren.Barnes

[CL 23018372 by Julien StJean in ue5-main branch]
2022-11-07 16:41:28 -05:00
yohann dossantos
40c6f42de9 The property bIsVariable of the Widget class is now set accordingly to a project setting (bAuthorizeAutomaticWidgetVariableCreation) in the UserInterface category, when creating a new one.
-it will always be false if bAuthorizeAutomaticWidgetVariableCreation is false.
-it will take the setting of the widget it bAuthorizeAutomaticWidgetVariableCreation is true.
The setting is set to true for existing projects (it keeps the current behavior), but will be set to false for new project.
It can be changed any time, and will only affects the new Widgets that will be created.

tests:
-drag n drop various new Widgets, changed value of the general setting on the fly: the IsVariable value respected the setting.
-PIE Lyra game, all blueprints compiles fine and various tested menus / HUD are ok.
-opened a project of current version, or older project converted in place: new setting is true.
-created a new project: setting is set to false.


#jira UE-152160
#rb patrick.boutot
#preflight 6357ecd3f92c3250244311b9

[CL 22750497 by yohann dossantos in ue5-main branch]
2022-10-25 10:26:22 -04:00
christopher waters
f6e2d9e5f1 When creating a project from a template, don't attempt to override the DirectX settings. For one, this code can't handle arrays correctly, and two, the templates should all be configured correctly.
#jira UE-167378
#rb kenzo.terelst
#preflight 634efb024d3101c0ea41d452
#rnx
#lockdown Mihnea.Balta

[CL 22634770 by christopher waters in ue5-main branch]
2022-10-19 15:12:28 -04:00
Robb Surridge
77fafd441d Update message dialogs to use a clipboard button instead of a "Copy Message" text hyperlink.
#jira UE-164715
#preflight 632dee71a4769ad7140a1ba5
#rb lauren.barnes

[CL 22222705 by Robb Surridge in ue5-main branch]
2022-09-28 10:58:39 -04:00
tiago costa
43ae2325c8 Enable Extended Luminance Range for new projects by default
- Fix logic to also apply to projects created from template (doesn't overwrite template defined config if it has one).
- Removed deprecated option in Renderer Settings.
- Cleaned up branches around LuminanceMaxFromLensAttenuation(), since it's already applied inside the function.
- Templates are also updated to use ExtendedDefaultLuminanceRange.

#rb juan.canada
#fyi andreas.suika
#preflight 63344c29c7791417aafeadc7
#jira UE-143838

[CL 22221695 by tiago costa in ue5-main branch]
2022-09-28 10:18:39 -04:00
christopher waters
b424760427 New projects should start with D3D12 set to only support SM6.
#jira UE-162011
#rb mihnea.balta, kenzo.terelst
#preflight 631f4e13c75fcae76dc9aadd

[CL 21966864 by christopher waters in ue5-main branch]
2022-09-12 12:12:07 -04:00
bryan sefcik
b93a6cf7ed Pass 1 on editor include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e283bec5b0c765fc0ffdb

[CL 21960084 by bryan sefcik in ue5-main branch]
2022-09-11 18:33:06 -04:00