Commit Graph

301 Commits

Author SHA1 Message Date
jeanfrancois dube
40bf67a8b3 World Partition:
- FWorldPartitionActorDescView is now a virtual interface that route calls to its inner FWorldPartitionActorDesc by default.
  - FStreamingGenerationActorDescView is now used during streaming generation to include mutations introduced by validation pass.
  - FActorDescViewMap is now a template, and streaming generation now uses custom FStreamingGenerationActorDescViewMap version using FStreamingGenerationActorDescView.

This is the groundwork for implementing actor descriptor mutators to allow game-specific changes to be done to actor descriptors.

#rb Sebastien.Lussier

[CL 30037302 by jeanfrancois dube in ue5-main branch]
2023-12-01 07:23:37 -05:00
jeanfrancois dube
444c19749c Bring back CL29887181 with fixes.
-----------------------------------------------------------------
[Backout] - CL29887181
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
World Partition Editor: show unsaved newly added actors in the editor view.

#rb vincent.beauchemin

[CL 29918186 by jeanfrancois dube in ue5-main branch]
2023-11-24 07:31:28 -05:00
jeanfrancois dube
78328439b6 [Backout] - CL29887181
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
World Partition Editor: show unsaved newly added actors in the editor view.

#rb vincent.beauchemin

[CL 29895069 by jeanfrancois dube in ue5-main branch]
2023-11-22 14:56:30 -05:00
jeanfrancois dube
227dc12fa0 World Partition Editor: show unsaved newly added actors in the editor view.
#rb vincent.beauchemin

[CL 29887195 by jeanfrancois dube in ue5-main branch]
2023-11-22 08:48:06 -05:00
sebastien lussier
7aa66c31fd World Partition - HLODs in editor feature is now enabled by default
#jira UE-193294

[CL 29872450 by sebastien lussier in ue5-main branch]
2023-11-21 14:26:47 -05:00
sebastien lussier
1788b22ec9 World Partition - HLOD: Disable HLODs in editor if loading in editor is disabled (which is the case for UEFN by default)
#rb JeanFrancois.Dube

[CL 29872249 by sebastien lussier in ue5-main branch]
2023-11-21 14:17:24 -05:00
jeanfrancois dube
9e73ca7a80 World Partition Editor: show unsaved location volumes in the editor.
#rb vincent.beauchemin

[CL 29870896 by jeanfrancois dube in ue5-main branch]
2023-11-21 13:38:31 -05:00
jeanfrancois dube
ef105f5158 [Backout] - CL26308339
#rb vincent.beauchemin

Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26290283
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26287803 for CIS error.
#rnx
Original CL Desc
-----------------------------------------------------------------
World Partition
* Add new unsaved actors into the DirtyActors set. Useful to see unsaved LocationVolume on the WP Editor.
* Make sure we clean DirtyActors when CB content is removed.

#rb jeanfrancois.dube

[CL 29782780 by jeanfrancois dube in ue5-main branch]
2023-11-16 12:52:00 -05:00
jeanfrancois dube
15f5616d17 Remove CleanupExternalObjectsEmptyFolders since it's now supposed to have zero impact with 29525768.
#rb sebastien.lussier

[CL 29681286 by jeanfrancois dube in ue5-main branch]
2023-11-13 07:54:18 -05:00
sebastien lussier
8192bcef56 Fix duplicated LOCTEXT key "HLODInEditor_StreamingDisabled"
#rnx

[CL 29557566 by sebastien lussier in ue5-main branch]
2023-11-08 08:12:17 -05:00
sebastien lussier
eafb9cfa54 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29541562 by sebastien lussier in ue5-main branch]
2023-11-07 18:58:37 -05:00
justin peterson
5398900aba [Backout] - CL29526661 - CIS Compile Error
[FYI] Sebastien.Lussier
Original CL Desc
-----------------------------------------------------------------
World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29528240 by justin peterson in ue5-main branch]
2023-11-07 14:19:57 -05:00
sebastien lussier
d370837cd3 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29527011 by sebastien lussier in ue5-main branch]
2023-11-07 13:38:35 -05:00
sebastien lussier
3f984ab5b3 Removed AssetTypeActions for HLOD Layer & Data Layer assets
* Rely on UAssetDefinitions instead
* Add to correct "World" category
#rb vincent.beauchemin

[CL 29486031 by sebastien lussier in ue5-main branch]
2023-11-06 08:29:52 -05:00
jeanfrancois dube
c49cb209a8 World Partition Runtime HashSet:
- Added support for always loaded HLOD setups.
  - Added mechanism to register automatic converters for runtime hash classes.
  - Added converter implementation for SpatialHash to HashSet using LHGrid.

#jira UE-132357
#rb sebastien.lussier

[CL 29406321 by jeanfrancois dube in ue5-main branch]
2023-11-03 10:40:05 -04:00
sebastien lussier
d7f82736fe World Partition - HLOD in Editor
* Pinning Level Instances will now properly hide the HLOD(s) under it
* Removed ILoaderAdapter::ForEachReferencedActor()
#rb jeanfrancois.dube

[CL 29136065 by sebastien lussier in ue5-main branch]
2023-10-26 11:13:23 -04:00
jeanfrancois dube
c85e60601b [Backout] - CL29049707
[FYI] Sebastien.Lussier
Original CL Desc
-----------------------------------------------------------------
World Partition - HLOD in Editor
* Pinning Level Instances will now properly hide the HLOD(s) under it
* Removed ILoaderAdapter::ForEachReferencedActor()
#rb jeanfrancois.dube

[CL 29075073 by jeanfrancois dube in ue5-main branch]
2023-10-25 02:37:00 -04:00
sebastien lussier
67def143da World Partition - HLOD in Editor
* Pinning Level Instances will now properly hide the HLOD(s) under it
* Removed ILoaderAdapter::ForEachReferencedActor()
#rb jeanfrancois.dube

[CL 29066657 by sebastien lussier in ue5-main branch]
2023-10-25 00:49:21 -04:00
patrick enfedaque
18f08215ff ActorFilter Customization: Check if property is editable
#rb richard.malo
#rnx

[CL 29013475 by patrick enfedaque in ue5-main branch]
2023-10-23 06:19:27 -04:00
sebastien lussier
0a74d45778 Fixed blurry WP editor minimap
* Provide the correct visible bounds of the minimap texture to RequestVirtualTextureTiles()
* Would lead to incorrect tiles being loaded when zooming, leading to a blurry minimap.
#rb patrick.enfedaque

[CL 28876289 by sebastien lussier in ue5-main branch]
2023-10-18 10:09:04 -04:00
halfdan ingvarsson
53bc751522 Linux: Fix use-after-stack-free issue reported by ASan.
#rb sebastien.lussier
#rnx

[CL 28682292 by halfdan ingvarsson in ue5-main branch]
2023-10-11 16:50:15 -04:00
richard malo
dcf113a2fb WorldPartition: Added option in WorldDataLayers actor to save each DataLayerInstances in their own file (disabled by default)
#rb patrick.enfedaque, jeanfrancois.dube
#jira UE-196867

[CL 28546065 by richard malo in ue5-main branch]
2023-10-06 13:03:20 -04:00
jeanfrancois dube
f5f0dab433 World Partition: remove the possibility to not unload the map when invoking a commandlet from the editor as this codepath is untested and probably not working.
#rb sebastien.lussier

[CL 28493224 by jeanfrancois dube in ue5-main branch]
2023-10-05 07:13:28 -04:00
sebastien lussier
c31247f0f7 Build fix for MacArm64
#rnx
#rb trivial

[CL 28352244 by sebastien lussier in ue5-main branch]
2023-09-29 15:38:27 -04:00
sebastien lussier
51a310d007 World Partition - HLOD: Added support for showing HLODs in editor
* For now, disabled by default, can be enabled with "wp.Editor.HLOD 1"
* Currently, the HLODs that are loaded are those that are non spatially loaded & those that aren't "instanced HLOD".
* Will show transition between HLODs depending on the distance
* Loading regions or pinning actors will hide the HLODs intersecting those bounds
#jira UE-193294
#rb jeanfrancois.dube

[CL 28351187 by sebastien lussier in ue5-main branch]
2023-09-29 15:22:06 -04:00