Commit Graph

256 Commits

Author SHA1 Message Date
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
jeanfrancois dube
d293cf5950 World Partition Editor: don't highlight loader adapters that aren't loaded.
#rb none

[CL 26254216 by jeanfrancois dube in ue5-main branch]
2023-06-27 07:17:35 -04:00
vincent beauchemin
cf4211a36a Add missing include (ScopedTransaction)
[CL 26183586 by vincent beauchemin in ue5-main branch]
2023-06-22 11:21:06 -04:00
vincent beauchemin
836590445f World Partition Editor QoL
* Make sure we can only play with the Loaded Regions & related streaming features when the streaming is enabled. Hide the loaded regions when we toggle the Streaming enable so we keep them.
* When converting a Loaded Region to LocationVolume, make sure we have an incremental label for the user.
* Make sure the scaling gizmo would be intuitive on the Location Volume (after converting a loaded region) by scaling the brush instead of the actor.
* Fixed : Converting a loaded region into an asset does not count as a transaction on the undo history, but deleting it from the viewport or the outliner does.

#rb jeanfrancois.dube

[CL 26181458 by vincent beauchemin in ue5-main branch]
2023-06-22 10:08:24 -04:00
vincent beauchemin
12cdd800ff * [SceneOutliner] Using Load and Unload selected volumes context menu options for LocationVolume in the Outliner does not grey out these options.
#rb jeanfrancois.dube

[CL 26180633 by vincent beauchemin in ue5-main branch]
2023-06-22 09:27:16 -04:00
sebastien lussier
b11dee715c WorldPartition - Editor: When outputting the content of commandlets in case of errors, write each line with the correct verbosity.
* This is needed for visibility, as UEFN is now filtering out everything except warning & errors by default
#patrick.enfedaque

[CL 26157481 by sebastien lussier in ue5-main branch]
2023-06-21 15:00:41 -04:00
joe kirchoff
fc49b3b34f Fix C4855: implicit capture of 'this' via '[=]' is deprecated in '/std:c++20'
#rnx

[CL 26110412 by joe kirchoff in ue5-main branch]
2023-06-19 19:55:34 -04:00
patrick enfedaque
6d2522df6a WorldPartition: Make sure LastLoadedRegion FBox are valid
- Fixes new Empty Open World saving a invalid LastLoadedRegion
- Spatial loader adapters created with invalid bounds will not load any actors and ensure on creation

#rb jeanfrancois.dube
#rnx

[CL 25926702 by patrick enfedaque in ue5-main branch]
2023-06-12 08:28:46 -04:00
patrick enfedaque
36a35ce76a LevelInstance: Deprecate CanBeUsedByLevelInstance.
- Runtime: Level Instances that are WP will still get embedded in their parent world grid (independent of the value of bEnableStreaming)
- Editor: Level Instances with bEnableStreaming=true will now act as regular World Partitions when loaded on their own. Allowing for big Level Instances to be partially loaded outside of their owning world.
- Add Project Setting for default value to assign to new Level Instances

#rb jeanfrancois.dube, richard.malo

[CL 25926203 by patrick enfedaque in ue5-main branch]
2023-06-12 07:30:42 -04:00
patrick enfedaque
5dde75b396 LevelInstance: Edit now shows a transient filter that can be changed to allow editing of the source Level, this filter isn't modifying the current LevelInstance filter. Filter is restored when exiting edit.
#rb richard.malo
#rnx

[CL 25870631 by patrick enfedaque in ue5-main branch]
2023-06-08 10:14:43 -04:00
jeanfrancois dube
8edc26ed74 When converting a world to world partition, reconstruct the world partition editor to reflect the change.
#rb vincent.beauchemin
#preflight 647931f58417d792593700f4

[CL 25759625 by jeanfrancois dube in ue5-main branch]
2023-06-02 09:52:12 -04:00
jeanfrancois dube
9ebf09d5a7 World Partition UEFN Support:
- Exposed DisableLoadingInEditor in the project settings, which defaults to true in UEFN and false in UE5.
- Reenabled World Partition Editor tab and loading regions when DisableLoadingInEditor is false.

#rb vincent.beauchemin
#preflight none

[CL 25627469 by jeanfrancois dube in ue5-main branch]
2023-05-25 15:59:36 -04:00
jeanfrancois dube
d9dbc4d84b Fix conflicting changes from two different branches.
#rb none
#preflight none

[CL 25592331 by jeanfrancois dube in ue5-main branch]
2023-05-23 18:15:30 -04:00
jeanfrancois dube
2148f338da [Backout] - CL25070843
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
World Partition:
- Removed option to disable partial world loading in the editor in UEFN.
- Reenable world partition tab in UEFN.

#rb vincent.beauchemin
#preflight 646cd8301417daba1e5aae34

[CL 25592247 by jeanfrancois dube in ue5-main branch]
2023-05-23 18:13:34 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
jeanfrancois dube
c83132f4e6 World Partition: Fix crash when using BugItGo command when the world partition editor is opened but never had focus once.
#rb philippe.deseve
#preflight none

[CL 25431228 by jeanfrancois dube in ue5-main branch]
2023-05-11 13:28:38 -04:00
patrick enfedaque
fcbb51c7e3 Pinned Actors: Test SupportsPinning + Add new condition for !IsEditorRelevant() && !IsRuntimeOnly() actors
Fixes WorldMiniMap getting pinned when creating a new Level Instance and will support ShouldSkipFromLevelInstance actors properly

#rb jeanfrancois.dube, richard.malo
#preflight 645ce0d8cf788a2558ca3a17
#rnx

[CL 25429361 by patrick enfedaque in ue5-main branch]
2023-05-11 12:18:12 -04:00
sebastien lussier
a2295ce319 Fix log inside the commandlet output displayed in red after building HLODs - even if no error was reported
* Will now only pipe the output if the commandlet execution is considered a failure (if the actual commandlet code returned an error)
* Write the output line by line to avoid a red wall of text. This will allow lines with errors to be more easily spotted.
* Read from the commandlet log file to avoid the initial output being truncated (log file contains more info that what is written to StdOut)
#rb jeanfrancois.dube
#preflight 645a3c67013f3751584e1b9e

[CL 25387398 by sebastien lussier in ue5-main branch]
2023-05-09 10:06:53 -04:00
richard malo
66334f1551 Fixed crash at exit of editor accessing ActorEditorContextSubsystem.
#rb jeanfrancois.dube
#preflight 64492bf0401d328ad9f4b5b4

[CL 25199886 by richard malo in ue5-main branch]
2023-04-26 11:54:02 -04:00
patrick enfedaque
5974b97070 Actor Filter: Do not focus search box when opened (steals focus from outliner)
#rb trivial
#preflight skip
#rnx

[CL 25175437 by patrick enfedaque in ue5-main branch]
2023-04-24 23:19:57 -04:00