Commit Graph

1191 Commits

Author SHA1 Message Date
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
simon girard
6b34cf982d Added skew transform to slate fonts to mimic italic. The font atlas is loading the extra glyphs.
[REVIEW] [at]Vincent.Gauthier [at]ui-tech-design
#rb [at]Patrick.Boutot [at]Vincent.Gauthier [at]Adrienne.Pugh
#rnx
#tests: Ran a preflight build
#preflight 627bf7ab1e749933439c5760

#ROBOMERGE-AUTHOR: simon.girard
#ROBOMERGE-SOURCE: CL 20440008 via CL 20440035 via CL 20440039
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448769 by simon girard in ue5-main branch]
2022-06-01 03:57:19 -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
josh adams
46a830d6b4 - Replacing many uses of LoadGlobalIniFile and LoadExternalIniFile with FCOnfigContext
#rb matt.peters
#p4v-preflight-copy 20293528
#preflight 629665d15238916c514359ad

[CL 20441581 by josh adams in ue5-main branch]
2022-05-31 16:25:06 -04:00
George Rolfe
04df2dac7c TemplateString + customization
#jira none
#rb sebastian.nordgren
#preflight 6295f14f926be5fb68b3e29a

[CL 20435453 by George Rolfe in ue5-main branch]
2022-05-31 07:40:18 -04:00
cedric caillaud
21321652f0 UI : add for dedicated section geometry collection component specifics
#rb sebastian.nordgren
#jira none
#preflight none

[CL 20380585 by cedric caillaud in ue5-main branch]
2022-05-26 12:32:34 -04:00
Marc Audy
894f54b6d5 Fix non-unity
#rnx
#preflight

[CL 20344456 by Marc Audy in ue5-main branch]
2022-05-24 01:38:06 -04:00
christopher waters
e0cb0dab75 Fixing NonUnity issue.
#jira UE-153536
#rb none
#preflight 628ba280183c1e134627ec67

[CL 20329347 by christopher waters in ue5-main branch]
2022-05-23 11:43:34 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
christopher waters
8d8c05f497 Reworking shader platform settings on Windows to be per-RHI. This removes the ill-fated "min/max feature level" configs that were just causing confusion.
On Windows, "TargetedRHIs" is now split into "D3D11TargetedShaderFormats", "D3D12TargetedShaderFormats" and "VulkanTargetedShaderFormats". "TargetedRHIs" is still parsed for backwards compatibility.
Using this, projects can now be more easily configured for D3D12-only or even Vulkan-only.
Updated FShaderFormatsPropertyDetails to use FName instead of FString for shader platforms. Also added a filtering method for mixed RHI platforms like Windows.

#jira none
#rb mihnea.balta, josh.adams
#preflight 6287cbf46c7692ac8cc8805f

[CL 20300786 by christopher waters in ue5-main branch]
2022-05-20 15:09:09 -04:00
roey borsteinas
3439827f02 Expose some water body component and spline component properties (on water bodies) to UEFN.
#rb jonathan.bard, luc.eygasier
#preflight 62827c6e046b81bf93c2e566

#ROBOMERGE-OWNER: roey.borsteinas
#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 20228520 via CL 20260053 via CL 20260058 via CL 20260066
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20263011 by roey borsteinas in ue5-main branch]
2022-05-18 12:55:21 -04:00
tim doerries
641b8e73fb Removed SingleLayerWaterRefractionFullPrecision ShowFlag
#jira UE-114681
#rb kevin.ortegren
#rnx
#preflight 6283bba34316db80d18f7888

[CL 20258173 by tim doerries in ue5-main branch]
2022-05-18 03:42:31 -04:00
lonnie li
288268415d Fixed level not being marked as modified by editing FTimecode property in the details panel.
#rb max.chen
#preflight 628151d35a0ff6de4738a534

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 20224998 via CL 20225021 via CL 20225052
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20228047 by lonnie li in ue5-main branch]
2022-05-16 14:05:16 -04:00
benoit deschenes
3360b5c69f Fix DirectoryPath slate UI not disabling path selection button when the property is disabled.
#rb JeanLuc.Corenthin
#preflight 627e92317c26e247735af4f4

[CL 20183845 by benoit deschenes in ue5-main branch]
2022-05-13 13:29:25 -04:00
christopher waters
a0c71b0dbf Changing WindowsTargetSettingsDetails to use shared functions to describe shader platforms.
Removing the Experimental label from PCD3D_SM6.

#jira none
#rb laura.hermanns
#preflight 627ad7a268422389764d331c

[CL 20131076 by christopher waters in ue5-main branch]
2022-05-10 18:15:53 -04:00
sebastian nordgren
d14aacc082 Speculative fix for a crash on an invalid pointer. My suspicion is that the UBodyInstance* is garbage because it's accesssing unitialized memory, changed an AddUnitialized to AddZeroed and added a null check to make sure.
Removed a few unnecessary forward declarations.

#jira UE-150829
#review-20041692 @vincent.gauthier
#preflight 62729059ec1566a706180784

[CL 20127424 by sebastian nordgren in ue5-main branch]
2022-05-10 14:52:37 -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
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
nick darnell
06aed28a93 Engine - Adding support for Double Range types, as well as reading doubles in metadata.
[REVIEW] [at]Matt.Kuhlenschmidt

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20029842 via CL 20029853 via CL 20029859
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20035025 by nick darnell in ue5-main branch]
2022-05-03 19:47:22 -04:00
Chris Caulfield
91c3a26d3f Chaos
- projectionphase  in main solver
- add teleport projection
- recombine projection flags into one flag
- remove unused iteration counts
- correct the iteration count names

#jira none
#rb jaco.vandyk, michael.forot
#preflight 6271490afe09c0cfbc3c5a1e

[CL 20026916 by Chris Caulfield in ue5-main branch]
2022-05-03 11:54:26 -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
HertzDonut
5d4f84a5f6 PR #8872: Color picker for color properties on externally added FStructOnScope properties now resets/cancels correctly (Contributed by HertzDonut)
#rb sebastian.nordgren
#preflight 624da0c54e0a8b95d08c899a

[CL 19647204 by HertzDonut in ue5-main branch]
2022-04-06 10:22:09 -04:00
thomas sarkanen
e832a0d616 Correctly tag custom rows in anim sequence and skeletal mesh details customizations
#rb Jurre.deBaare
#preflight 6246d295323cb7b9911fe6cb

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 19586446 via CL 19586824 via CL 19586833 via CL 19586842
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19587520 by thomas sarkanen in ue5-main branch]
2022-04-01 09:41:25 -04:00
Jeremy Moore
0aebd0267f Add support for getting UScriptStruct on FIntPoint, FIntVector and FIntVector4.
Implement the FIntVector4 property struct and detail customisation.
Added FIntVector and FIntVector4 NAME_ FNames.
#preflight 6244bdb2470aff98e967311a
#rb steve.robb

[CL 19564992 by Jeremy Moore in ue5-main branch]
2022-03-30 17:50:26 -04:00
jeanfrancois dube
86437b50f4 World Partition
- Edigrate 19149766 from Main: wp by default with disabled streaming to mimic classic level streaming with data layers as a bonus.
- Revert part of 18994482: removed option to force load everything in the editor.
- Warn the user when the world is large enough to justify enabling streaming.

#rb richard.malo
#preflight 623c57bdbe1e4104d37b6dd5
#rnx

#ROBOMERGE-OWNER: jeanfrancois.dube
#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 19494492 via CL 19495530 via CL 19501961 via CL 19501993
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19503573 by jeanfrancois dube in ue5-main branch]
2022-03-24 18:01:12 -04:00