Commit Graph

508 Commits

Author SHA1 Message Date
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
Robert Millar
1313cc865d FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for class features in the editor.

#jira UE-161932
#rb ben.zeigler
#preflight 631a55942b7fe03eb6c27d74

[CL 21903450 by Robert Millar in ue5-main branch]
2022-09-08 17:06:00 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
sebastian nordgren
e8604ba396 The Project file out of date notification now fades away after 10 seconds.
This now makes sense to change now that dialogs don't fade out during loading.

#rb matt.kuhlenschmidt
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21108676 via CL 21108681 via CL 21108685
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21109746 by sebastian nordgren in ue5-main branch]
2022-07-15 10:13:08 -04:00
zach rammell
8ae1e2a024 Disallow creating projects with the same names as platform modules
Those projects cannot be loaded due to the modules conflicting.
#jira UE-147237
#rb brooke.hubert ronald.koppers
#preflight 62ba3171e77151e5998ea094

[CL 20842099 by zach rammell in ue5-main branch]
2022-06-27 18:47:42 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
tuo chen
1a5b186cb9 Fix for missing MobileStarterContent.upack but the import checkbox is enabled, resulting import error
#rb wei.liu
#jira none
#preflight skip

[CL 20590332 by tuo chen in ue5-main branch]
2022-06-10 02:12:12 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
Leon Huang
19877e39c5 Fix for duplicate localization key warnings and missing localization defines/undefines in various files.
#rnx
#rb: Vincent.Gauthier
#jira: UE-151614
#preflight: 628fc4a98c23e52ef0fdfa7d

[CL 20384450 by Leon Huang in ue5-main branch]
2022-05-26 16:11:10 -04:00
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -04:00
Matt Kuhlenschmidt
36cc361039 Prevent starter content from overriding default maps with table and chairs map. We no longer want that to be the default if you include starter content in a new project
#jira UE-148389
#preflight none

[CL 20105621 by Matt Kuhlenschmidt in ue5-main branch]
2022-05-09 13:25:14 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
Jon Nabozny
30f88d3533 Fix config warnings when loading templates.
#jira None
#preflight 62437590f4217035fa7239e2

[CL 19744414 by Jon Nabozny in ue5-main branch]
2022-04-13 15:32:48 -04:00