Commit Graph

9058 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
aleksander netzel
bc3681c180 Add initial support for rendering water in path tracer:
* Add missing water Material ID cases for material hit shaders
* Make water translucent in the initial version
* Disable underwater postprocess material when running PT

#rb Chris.Kulla
#preflight 629725f92a1851b4ccb93408

[CL 20450504 by aleksander netzel in ue5-main branch]
2022-06-01 06:14:24 -04:00
Mieszko Zielinski
8f15f52956 Added Num to StructTypeBitSet along with one debug-time funciton fetching the name of value given by index
#review-20450239
#preflight skip

[CL 20450358 by Mieszko Zielinski in ue5-main branch]
2022-06-01 05:46:26 -04:00
graham wihlidal
809830ba10 Implemented "guide mesh" multisample average normal logic in Nanite displaced mesh plugin.
#rb brian.karis
[FYI] julien.stjean, jordan.walker
#preflight skip

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 20445899 via CL 20445902 via CL 20445903
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449731 by graham wihlidal in ue5-main branch]
2022-06-01 04:29:11 -04:00
julien stjean
7cad62b947 Fixed the transient nanite displaced mesh not being converted into to a permanent asset when the source that generated it is saved and the issue that they were never collected by the GC.
#rb none
#preflight none

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 20442903 via CL 20442939 via CL 20442950
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449533 by julien stjean in ue5-main branch]
2022-06-01 04:24:53 -04:00
justin marcus
824d55a021 Cleanup asset manager when unloading game feature plugins.
- Remove game feature data from asset manager when unregistering.
- When an asset is removed from the asset registry, also remove it from the asset manager.
-review-20397299
#p4v-preflight-copy 20385644

#ROBOMERGE-OWNER: justin.marcus
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 20441121 via CL 20441132 via CL 20441313 via CL 20441314
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449474 by justin marcus in ue5-main branch]
2022-06-01 04:23:27 -04:00
graham wihlidal
2cd90a87f5 Added OnRebuild delegate to UNaniteDisplacedMeshAsset, and a subscription from UNaniteDisplacedMesh to recreate the scene proxy whenever the underlying Nanite data within UNaniteDisplacedMesh is rebuilt.
#preflight skip
#rb julien.stjean
[FYI] brian.karis, danny.couture

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 20439089 via CL 20439128 via CL 20439218
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448722 by graham wihlidal in ue5-main branch]
2022-06-01 03:56:26 -04:00
roey borsteinas
433298c148 Remove deprecated water functions from <4.27
#preflight 6294dab03f058e13b5b7e13d
#rb jonathan.bard

#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 20436959 via CL 20437158 via CL 20437211
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448598 by roey borsteinas in ue5-main branch]
2022-06-01 03:51:42 -04:00
roey borsteinas
295564427d Consolidated the Waterbody navigation and collision settings onto the UPrimitiveComponent interfaces and deprecated the duplicate water functions.
#rb jonathan.bard
#preflight 6290d3363c05bea8bfd244d0

#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 20436491 via CL 20436501 via CL 20436509
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448581 by roey borsteinas in ue5-main branch]
2022-06-01 03:50:44 -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
braeden shosa
75f1889658 PoseSearch: Rename FDatabaseEditorToolkit to FDatabaseEditor
#preflight 629676ad261e39f6206a9a40
#rb cesar.castro

[CL 20443872 by braeden shosa in ue5-main branch]
2022-05-31 18:38:21 -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
jason walter
10149babb9 Enable ShotGrid on Linux
#jira UE-142253
#rb zach.brockway
#preflight 629621e5be0ae0b33a3fb1a7

[CL 20441140 by jason walter in ue5-main branch]
2022-05-31 16:05:18 -04:00
Aaron Cox
a8e84c3393 Fix crash when using Pose Matching on Sequence Players ("Start From Matching Pose" option). Default to brute force search when there's no database.
#review-20439958 @Braeden.Shosa, @Cesar.Castro, @Samuele.Rigamonti
#preflight 629664f09d75300f41b91b5f

[CL 20440381 by Aaron Cox in ue5-main branch]
2022-05-31 15:07:47 -04:00
Brice Criswell
976cc92df7 Dataflow : Cleanup
#rb trivial
#preflight 62964828fe779f23c8ede743

[CL 20439624 by Brice Criswell in ue5-main branch]
2022-05-31 14:03:46 -04:00
benoit gadreau
5aaafec833 fixed module name duplication
#jira UE-155332
#rb halfdan.ingvarsson
#preflight 62964d275c69764c7ad8d32d
#fyi thomas.sarkanen

[CL 20439343 by benoit gadreau in ue5-main branch]
2022-05-31 13:36:47 -04:00
nathan mitchell
378bfec238 UVEditor: Add support for the split action to handle triangle based selections by splitting along selection region boundaries.
#rb Jimmy.Andrews
#preflight 628de488495b76148783a75f

[CL 20439141 by nathan mitchell in ue5-main branch]
2022-05-31 13:26:02 -04:00
matija kecman
85a44f52c7 Render Capture Baking: Refactor tool properties so that only genuine render capture options trigger game thread recomputes, also improve names
#rb lonnie.li
#rnx
#jira none
#preflight 6296351cfe779f23c8e74e17

[CL 20438207 by matija kecman in ue5-main branch]
2022-05-31 12:08:54 -04:00
Brice Criswell
f233b31d80 Dataflow : FName property
- Added FName support for Dataflow::TProperty
#rb trivial
#preflight 62963373e62c873b96cc261d

[CL 20437876 by Brice Criswell in ue5-main branch]
2022-05-31 11:44:59 -04:00
Brice Criswell
a21ff6e4af Dataflow - DragAndDrop support
#rb trivial
#preflight 62963373e62c873b96cc261d

[CL 20437873 by Brice Criswell in ue5-main branch]
2022-05-31 11:44:40 -04:00
adrien logut
296262f870 Build Fix: Missing headers in PCGEditorUtils.cpp
#jira UE-155330
#rnx
#rb julien.lheureux
#preflight skip

[CL 20437354 by adrien logut in ue5-main branch]
2022-05-31 11:12:10 -04:00
Jeremy Moore
652cdc7159 #jira UE-153998
Quick fix for copy/paste of data interface nodes.
We can remove this fix when node duplication records and redirects the outers of all subobjects correctly.
#preflight 62961d7fd86c0bf739aec909

[CL 20436822 by Jeremy Moore in ue5-main branch]
2022-05-31 10:27:03 -04:00
Helge Mathee
d82d9ff05b DataInterfaceGraph: Fix member initialization
#rb Eric.McDaniel
#jira na
#preflight skip

[CL 20436730 by Helge Mathee in ue5-main branch]
2022-05-31 10:19:59 -04:00
Helge Mathee
6520c809a9 Control Rig: backend work for support for multi graph
#rb benoit.gadreau
#jira UE-153497
#preflight https://horde.devtools.epicgames.com/job/6294be4e2e34c2e487b13394

[CL 20434781 by Helge Mathee in ue5-main branch]
2022-05-31 04:27:20 -04:00
jonathan bard
c797a2d35c * Fixed water brush letting the user change the list of affected weightmap layers while it's actually automatically populated by the list of layer names specified in the water bodies
* Fixed weightmap changes on water bodies not triggering the appropriate water brush updates

#rb roey.borsteinas
#preflight 6294faf73f058e13b5c19a5b

#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-SOURCE: CL 20432350 via CL 20432353 via CL 20432358
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20434159 by jonathan bard in ue5-main branch]
2022-05-31 01:21:33 -04:00