Commit Graph

260 Commits

Author SHA1 Message Date
jeanfrancois dube
7200ea0e61 World Partition Editor: fix computation overflow in int64->float->int64 conversions.
#jira UE-196446
#rb sebastien.lussier

[CL 28221168 by jeanfrancois dube in ue5-main branch]
2023-09-26 07:24:05 -04:00
jeanfrancois dube
ac074def7c World Partition Editor: fix selecting loaded actors not showing in the world partition editor window, broken in CL 21336657.
#jira UE-196408
#rb sebastien.lussier

[CL 28213356 by jeanfrancois dube in ue5-main branch]
2023-09-25 20:21:58 -04:00
vincent beauchemin
756d8952d6 World Partition Editor
* Add option (slider) to play with the unloaded region opacity (default is now ~10% brighter).
* Tweak clamp between good values with the rest of the features such as highligting regions, loaded regions.
* Value is saved in PerProjectUserSettings.

#rb jeanfrancois.dube

[CL 28183969 by vincent beauchemin in ue5-main branch]
2023-09-25 07:42:57 -04:00
sebastien lussier
a09e0df578 World Partition - Minimap: Fix viewport offset used to fetch the minimap VT tiles
#rb trivial

[CL 28075842 by sebastien lussier in ue5-main branch]
2023-09-21 00:16:27 -04:00
sebastien lussier
1e1c41bcdc Fixed typo/warning from last CL
#rnx
#rb none

[CL 28040206 by sebastien lussier in ue5-main branch]
2023-09-20 12:19:50 -04:00
sebastien lussier
b28b59cbe8 Virtual Texture: Fixed FVirtualTextureSystem::RequestTilesForRegionInternal() potentially issuing many invalid tile requests if fetching for a VT outside of the viewport
* Solves degenerate case where the WP minimap would be zoomed out and dragged far outside the viewport, issuing millions of tile requests each frame
* Properly clamp the requested VT region to what's visible in the viewport
* Deprecated previous method which required the viewport position to be negated to work properly
#rb jeremy.moore

[CL 28039832 by sebastien lussier in ue5-main branch]
2023-09-20 12:11:34 -04:00
vincent beauchemin
e964aea04a World Partition Editor
* Hide Options menu when no option are available (mostly for UEFN).
* Use UToolMenu for the Contextual Menu. This way Licensees and FN could extend it. Re-org the Contextual options for clarity.
* Make Load From Here a user create region to be consistent with the editor and remove No loaded region tip.

#rb jeanfrancois.dube

[CL 27954993 by vincent beauchemin in ue5-main branch]
2023-09-18 08:36:34 -04:00
jeanfrancois dube
da95707995 World Partition: move data layer and hlod layer asset into the world category.
#rb richard.malo
[FYI] jeansebastien.guay

[CL 27797977 by jeanfrancois dube in ue5-main branch]
2023-09-12 13:14:25 -04:00
jeanfrancois dube
3029755edb World Partition Editor: fix editor not focusing on world bounds since recent changes.
#rb vincent.beauchemin

[CL 27752624 by jeanfrancois dube in ue5-main branch]
2023-09-11 10:23:13 -04:00
robert millar
d1504d4efb Disable CleanupExternalObjectsEmptyFolders as it seems to be taking a very long time for some people.
#rb none

[CL 27692818 by robert millar in ue5-main branch]
2023-09-07 18:28:20 -04:00
zach bethel
6473b91df9 Hardened thread safety of render command pipe system and added ability to sync specific pipes.
- Added additional sync scopes to handle VT standalone path.

#jira UE-194136, FORT-648678, UE-194553, PLAY-12828

[CL 27691097 by zach bethel in ue5-main branch]
2023-09-07 17:51:23 -04:00
vincent beauchemin
51cf690137 World Partition Editor
* Change LoadingRegion/Adapter borders to match Starship style guide. (Selection, Loaded, Hover)
* Remove the Orange Box when PIE, we still have the player arrow in Orange for indication.
* Avoid using colors directly, use Starship style guide.

#rb jeanfrancois.dube
#jira UE-194385

[CL 27670122 by vincent beauchemin in ue5-main branch]
2023-09-07 08:45:32 -04:00
Matt Peters
935f838fc3 OneFilePerActor: Fix deletion of empty __ExternalActor__ directories to not try (and fail) to delete the root __ExternalActor__ directory if it is out of subdirectories.
#jira UE-194493
#rb JeanFrancois.Dube
#rnx

[CL 27589288 by Matt Peters in ue5-main branch]
2023-09-04 16:23:54 -04:00
vincent beauchemin
cf6e98cd46 World Partition Editor
* Upgrade overall UX (new icons, new menus, new toolbar, new layout)
* Now possible for licensees to extent options in our menus.
* Add same LevelViewport actions in the WP Editor (Build Hlods, build minimap, etc.) via new Build menu.

#rb jeanfrancois.dube
#jira UE-171044

[CL 27527223 by vincent beauchemin in ue5-main branch]
2023-08-31 12:53:27 -04:00
jeanfrancois dube
62f0004628 World Partition: cleanup empty folders from external packages to reduce the time spent parsing these from the Asset Registry parse.
#jira UE-193953
#rb sebastien.lussier, richard.malo

[CL 27480916 by jeanfrancois dube in ue5-main branch]
2023-08-30 07:02:33 -04:00
patrick enfedaque
b697e201cf ActorEditorContext
- Add FScopedActorEditorContextFromActor which pushes a new context based on the provided actor (will be used in next Foliage CL)
- Implemented through IActorEditorContextClient(s) with EActorEditorContextAction::InitializeContextFromActor
- Remove Adding of DataLayers in ActorPartitionSubsystem as this will be done by the DataLayerEditorSubsystem through the active editor context
- Properly support ContextBundles in ActorPartitionSubsystem to generate unique name
- Cleanup APartitionActor naming API + Labels

#rb richard.malo
#rnx

[CL 27309490 by patrick enfedaque in ue5-main branch]
2023-08-23 12:21:45 -04:00
vincent beauchemin
06534e900c World Partition
* Add an editor preference to log the generate streaming in PIE (default true).

#rb jeanfrancois.dube
#jira UE-184644

[CL 26808155 by vincent beauchemin in ue5-main branch]
2023-08-03 09:09:27 -04:00
jeanfrancois dube
1ffe02952d Partial backout of 26614803 for "fix non spatial newly created/saved actor being unloaded after PIE".
When an actor descriptor is added, add it to the always loaded loader if its non spatially loaded.
Also fix duplicate actor descriptors in the dirty actor list since recent changes.

#jira UE-185983
#rb vincent.beauchemin
[FYI] patrick.enfedaque

[CL 26734890 by jeanfrancois dube in ue5-main branch]
2023-08-01 07:19:06 -04:00
richard malo
5baf188939 WorldPartition: Added IsListedInSceneOutliner in WorldPartitionActorDesc and use it to hide unloaded ActorDescItems in the World Outliner. It is also used to hide actor bounds in World Partition Editor.
#rb patrick.enfedaque
#jira UE-191295

[CL 26636014 by richard malo in ue5-main branch]
2023-07-27 07:07:59 -04:00
derek truong
467ce30f8a [UEFN] Adding documentation redirect for streaming and hlods so we open proper UEFN documentation page. Undoing changes in CL 23917904 to utilize documentation redirect system.
#rb rex.hill
[FYI] jamie.dale
#rnx

[CL 26522517 by derek truong in ue5-main branch]
2023-07-21 15:26:01 -04:00
vincent beauchemin
7652f4c49a [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 26308344 by vincent beauchemin in ue5-main branch]
2023-06-29 08:03:05 -04:00
hilda cruz
bea92468a4 [Backout] - CL26287803 for CIS error.
#rnx
[FYI] vincent.beauchemin
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 26290314 by hilda cruz in ue5-main branch]
2023-06-28 13:15:19 -04:00
vincent beauchemin
a08bf901d7 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 26287846 by vincent beauchemin in ue5-main branch]
2023-06-28 12:08:33 -04:00
vincent beauchemin
51cb5e9cf3 Content Bundle
* Move Content Bundle events into Engine (needed by World Partition).
* Add ContentBundleRemovedContent event.

#rb philippe.deseve, jeanfrancois.dube

[CL 26284475 by vincent beauchemin in ue5-main branch]
2023-06-28 10:14:35 -04:00
jeanfrancois dube
f1af40377b World Partition Editor Loading:
- Changed Editor Settings 'DisableLoadingInEditor' to 'EnableLoadingInEditor' to be easier to understand for entry-level users.
- Actors loading state will now react to changing Editor Settings 'EnableLoadingInEditor' property.

#rb vincent.beauchemin
[FYI] francisco.cabrita, jeansebastien.guay

[CL 26263924 by jeanfrancois dube in ue5-main branch]
2023-06-27 13:50:48 -04:00