Commit Graph

377 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
Jeremy Moore
ec7272999a Add some logic for bEvaluateWorldPositionInRayTracing that was missed in original conversion from bEvaluateWorldPosition.
#preflight 629113a0532586228d893efc

[CL 20396245 by Jeremy Moore in ue5-main branch]
2022-05-27 14:13:42 -04:00
patrick enfedaque
94c6af5840 New Landscapes will always have GridSize in their name
#rb richard.malo, jeanfrancois.dube
#preflight 628e3510eb57f851e2271607

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20364116 via CL 20364141 via CL 20364179
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366287 by patrick enfedaque in ue5-main branch]
2022-05-25 12:09:23 -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
JeanFrancois Dube
9d46f9daf9 World Partition:
- Added assert that the provided world is not a game world in IWorldPartitionActorLoaderInterface::ILoaderAdapter constructor.
- Apply the ALocationVolume.DebugColor to the World Partition display for loader adapters UI.

#rb richard.malo
#preflight 6283e231ed2c0847b04fd00b
#rnx

[CL 20247563 by JeanFrancois Dube in ue5-main branch]
2022-05-17 14:12:02 -04:00
JeanFrancois Dube
13ea13eb8f World Partition Editor Hash:
- Unbound octree now stores hierarchical editor cells instead of leaves, this greatly reduce the number of needed editor cells for very large worlds.
- Implemented loading regions support to replace editor cells loading, in preparation for bookmark regions.

Tested against a 2000KMx2000km world + various internal projects and demos.

#rb patrick.enfedaque, richard.malo
#preflight 628239b5cf7e4667a97e3fe0

[CL 20222133 by JeanFrancois Dube in ue5-main branch]
2022-05-16 08:08:40 -04:00
patrick enfedaque
ab7a1b1abd - WorldPartition: Fix leaking ActorDesc when Actor (in this case PartitonedActor) replaces a deleted Actor with the same name
- Allow deleting Foliage actors
- SPackagesDialog: Do not show multiple assets when package contains 1 valid object and 1 or n invalid objects

#rb jeanfrancois.dube, richard.malo
#preflight 62792487242446ce6c519236

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20104060 via CL 20104081 via CL 20104096
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20109740 by patrick enfedaque in ue5-main branch]
2022-05-09 15:48:02 -04:00
philippe deseve
78493fe4f3 Serialize a reference from a ULevel to its corresponding WorldPartitionCell when its a level streamed from a WorldPartition grid.
Allow actors to retrieve their DataLayers outside of editor builds.
Actors now use their cell to retrieve their DataLayers when possible (i.e. when GenerateStreaming was done and the grid is built.)
Removed UActors::GetDataLayerInstances(AWorldDataLayers). Function isn't needed anymore as it was an overload called by the UI and problematic when exiting PIE. Actors on DataLayers not longer had their owning world set and the WOrldDataLayer was inaccessible. No longer need to use the WorldDataLayer as we use the Cell to get the Datalayers in PIE.

#test Editor, PIE, SIE, Cook, Cooked Game, -game
#jira UE-147731
#preflight 626be5d32660750c3ffaf757

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19977670 via CL 19977902 via CL 19978142
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19985780 by philippe deseve in ue5-main branch]
2022-04-29 17:03:39 -04:00
jamie hayes
5f34587cc5 UHierarchicalInstancedStaticMeshComponent: Stop assuming that an empty PerinstanceSMData means that the component is grass (incorrect for Nanite grass since recent changes to AcceptPrebuiltTree).
Created UGrassHierarchicalInstancedStaticMeshComponent for the purpose of moving all Landscape grass-specific logic to a subclass (similar to Foliage), and out of the generic HISM base as much as possible.
Deprecated a couple of HISM methods that are currently only used by grass in preparation to move them to the new subclass.

#rb jeremy.moore
#preflight 62630191cf17922036da1d5f

#ROBOMERGE-AUTHOR: jamie.hayes
#ROBOMERGE-SOURCE: CL 19870897 via CL 19871939 via CL 19873152
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19875905 by jamie hayes in ue5-main branch]
2022-04-22 18:29:36 -04:00
Richard Malo
61e7cb43b8 Fixed crash when doing foliage info fixup in AInstancedFoliageActor loading.
#jira UE-149239
#rb dominic.couture
#preflight 625edef63e0f6f80adb4f252

[CL 19810900 by Richard Malo in ue5-main branch]
2022-04-19 12:33:07 -04:00
Dominic Couture
5f5fac93b8 -Call RefreshActivePaletteViewWidget immediately in UpdatePalette, this ony request a new layouting for the tile.
-This is necessary if we're refreshing because a UFoliageType asset is deleted, since FoliagePaletteItems are mostly invalid when the FoliageType they're using gets deleted and can't participate in layouting until all refreshes are done. (this avoids adding if (!nullptr) everywhere)
-Added call to FoliageInfo->Uninitialize() in AInstancedFoliageActor::PostLoad to make sure stale InstancedMeshComponents don't get stuck in the AInstancedFoliageActor if their UFoliageType type assets get deleted while not loaded.


#jira UE-147285
#rb brooke.hubert, jamie.dale
#preflight 6244f3e773665f7d5e48fc83

[CL 19571551 by Dominic Couture in ue5-main branch]
2022-03-31 08:41:42 -04:00
christopher waters
f51b0e5861 Cleaning up some global Engine header dependencies.
- Focus around removing includes of "Engine/NetSerialization.h" from global headers. This file and its dependencies can take anywhere between 15 and 20 seconds to parse in MSVC.
- Everything in EngineTypes.h that depends on NetSerialization.h now lives inside their own headers.
- Moved FOverlapInfo and FScopedMovementUpdate out of SceneComponent.h/cpp and into their own files since they depend on the types moved out of EngineTypes.h

#jira none
#rb matt.peters
#preflight 62438c43e434babd8ad8bffd

[CL 19557798 by christopher waters in ue5-main branch]
2022-03-30 11:20:45 -04:00
philippe deseve
8218e80ef1 UDataLayer deprecated in favor of UDataLayerInstance & UDataLayerAsset
UDeprecatedDataLayerInstance allows to boot level using deprecated UDataLayers
Worlds using DataLayer can run the DataLayerToAssetCommandlet to transition their existing DataLayers
FActorDataLayer interface is deprecated.
DataLayers Blueprint referencers should now use DataLayerAsset to retrieve DataLayerInstances.
DataLayer Code referencers should now use DataLayerAssets or DataLayerInstance FName to retrieve DataLayerInstances.
DataLayerLabels now only used for display/UI purpose
Relabeling DataLayers is not permitted anymore on new DataLayerInstances (allowed on UDeprecatedDataLayerInstance)
Added Changelist Validation for DataLayers
Added a column to the datalayer outliner showing any data layer errors.

#rb richard.mal jeanfrancois.dube
#preflight 623098c2050dc69468b6a297 (errors only related to lyra, which do not exist in this stream)

#ROBOMERGE-OWNER: philippe.deseve
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19385808 via CL 19387392
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19389077 by philippe deseve in ue5-main branch]
2022-03-15 13:52:28 -04:00
Richard Malo
296dd8a20c - Actor Editor Context : System can register themselves to the ActorEditorContextSubsystem and provide the necessary to apply their context value to newly created actors and optionally show a widget in the viewport.
- Refactored viewport's current level combobox and added "current data layers" in data layer outliner and "current folder" in world outliner to use this system.
- Can optionally be hidden from viewport using advanced flag in ULevelEditorViewportSettings.
#robomerge FNNC
#rb patrick.enfedaque
#preflight 6227604a7077eb04cf696c33

[CL 19302351 by Richard Malo in ue5-main branch]
2022-03-08 09:40:27 -05:00
Patrick Enfedaque
aca2ccef34 WorldPartition: Use UWorld::IsPartitionedWorld instead of HasSubsystem<UWorldPartitionSubsystem> (prepare for subsystem always existing)
#rb richard.malo, jeanfrancois.dube
#preflight 6214e114a97c2c3348cb166d
#rnx

[CL 19071881 by Patrick Enfedaque in ue5-main branch]
2022-02-22 08:54:19 -05:00
Matt Peters
f76045bb7e LowLevelMemTracker - add scopes for some large allocations during cooking.
#rb Devin.Doucette
#rnx
#preflight 62047a600a1c4eb68f555ba5

[CL 18930861 by Matt Peters in ue5-main branch]
2022-02-09 21:53:31 -05:00
jeremy moore
d1bb45645b #jira UE-141798
#jira UE-141824
Serialize space that HISM cluster tree is built in and always use that for translated instance space.
This is to make sure that we always handle old data after the recent addition of translated instance space.
#rb patrick.enfedaque
#preflight 6203d7887244040418594154
#rnx

#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 18918920 in //UE5/Release-5.0/... via CL 18926754 via CL 18928253
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18928504 by jeremy moore in ue5-main branch]
2022-02-09 19:05:00 -05:00
jeremy moore
60de6e3a1d #jira UE-140591
Build HISM instances for foliage in a translated space and compensate in the render matrix.
This is to address large world coordinates issues where foliage HISM is typically constructed in world space.
#rb patrick.enfedaque
#preflight 62026a10bd4f846436da9fa4

#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 18901190 in //UE5/Release-5.0/... via CL 18901233 via CL 18901275
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v912-18901109)

[CL 18901279 by jeremy moore in ue5-main branch]
2022-02-08 08:37:45 -05:00
marc audy
ad4b7854c8 Make rerun construction scripts editor only
#preflight 61fb0ccc5e35b9215b0283c0

[CL 18836864 by marc audy in ue5-main branch]
2022-02-02 18:40:33 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
robert manuszewski
97b5e82c0b Deprecating EInternalObjectFlags::PendingKill. Making sure iterators use the appropriate flags based on the current state of PendingKill being enabled or not.
#preflight 61f8f33d537702981c352c7a
#rb Steve.Robb

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 18806353 in //UE5/Release-5.0/... via CL 18808526 via CL 18821789
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822151 by robert manuszewski in ue5-main branch]
2022-02-02 02:21:12 -05:00
marc audy
e43f761a9c Make IsAssetOrNotBlueprint once again always available
Fix checks against whether something is not a blueprint to use IsNative which works in cooked builds
[CODEREVIEW] Patrick.Enfedaque
#jira
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18800226 via CL 18800791 via CL 18800932 via CL 18802762 via CL 18821550
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821637 by marc audy in ue5-main branch]
2022-02-02 01:46:41 -05:00
andrew davidson
a687bd02ed Merge //UE5/Dev-LWCRendering[at]18755967
LWC: Serialize LWC double types as double. Enable double bulk serialization for all bulk-serializable-as-float LWC types.
#lockdown marc.audy
#rb marc.audy
#preflight 61f83517114ec25fe0ad5f15

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18795077 in //UE5/Release-5.0/... via CL 18795472 via CL 18797572
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18798048 by andrew davidson in ue5-main branch]
2022-01-31 16:44:37 -05:00
marc audy
0fd821baa5 Make ClassGeneratedBy WITH_EDITORONLY_DATA as it will always be null in cooked builds
#rb Michael.Noland
#preflight 61f441427a7f0d39ddf153cf
#jira

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18778942 via CL 18778966 via CL 18778988 via CL 18779795 via CL 18780212
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18780217 by marc audy in ue5-main branch]
2022-01-28 18:19:09 -05:00
patrick enfedaque
cacc55e66a Foliage: Expose FoliageOverlappingBoxTransforms
#rb trivial
#preflight skip
[FYI] arran.langmead

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18678390 in //UE5/Release-5.0/... via CL 18678398 via CL 18678408
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18680391 by patrick enfedaque in ue5-main branch]
2022-01-20 15:46:11 -05:00