Commit Graph

51 Commits

Author SHA1 Message Date
patrick enfedaque
774d15a6c9 Packed Level Actors: New Update Packed Blueprints CB action on World assets
- Move all static Packing related methods to new Utils class
- Remove dependency on ALevelInstance (use ILevelInstanceInterface)

#rb richard.malo
#rnx

[CL 25974150 by patrick enfedaque in ue5-main branch]
2023-06-14 06:25:37 -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
patrick enfedaque
6bff74bf1a Packed Level Actor: Filter support
#rb richard.malo, jeanfrancois.dube
#preflight 64676199434f5536a34daf5b
#rnx

[CL 25548187 by patrick enfedaque in ue5-main branch]
2023-05-19 13:51:16 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
patrick enfedaque
3b2527047f WorldPartition: UnloadReason now provided by FActorDescFilter
#rb jeanfrancois.dube, richard.malo
#preflight 640b26d90e1f02786bee254c
#rnx

[CL 24592065 by patrick enfedaque in ue5-main branch]
2023-03-10 11:01:34 -05:00
patrick enfedaque
c042995662 Level Instance: WorldPartitionActorFilter support (experimental)
- Experimental Flag hides Filter UI
- DataLayerAsset can enable filtering (will show up in Filter Outliner)
- DataLayerInstance can provide default filter value (default value when actor doesn't override)
- Level Instance Actor can have its own recursive filter
- Filtering Editor/Cook/PIE works
- Undo/Redo/Copy/Paste/ResetToDefault
- PackedLevelActors not yet supported

#rb jeanfrancois.dube, richard.malo
#preflight 64087dc36c1b9295b99222e8
#rnx

[CL 24561727 by patrick enfedaque in ue5-main branch]
2023-03-08 12:02:09 -05:00
nick darnell
954d29b9f5 Editor - Beginning the process to no longer make loading all assets you right click in the content browser. The first step, is setting up the code to have a deprecation flag DEPRECATE_ASSET_TYPE_ACTIONS_NEEDING_LOADED_OBJECTS, this will make it illegal to implement GetActions on all AssetTypeAction implementations. Checked in disabled, enable it locally to begin trying to implement the recommended method detailed in the IAssetTypeActions header. WIP. One of the things this change does is outlaw (regardless of deprecation) the HasActions() function, this function is no longer used at all, and so we may as well remove its implementation, it also works well as a canary in finding other samples and things that need to be upgraded.
#jira UE-165574
[REVIEW] [at]Rex.Hill, [at]Lauren.Barnes
#preflight 63483c43ad0f7e2f20e44910

[CL 22534452 by nick darnell in ue5-main branch]
2022-10-14 16:59:41 -04:00
jeanfrancois dube
294f38b536 World Partition:
- Added option to always load actors in the editor even if streaming is enabled.
- Disabled world partition editor commands that act on loading regions when loading in the editor is disabled.
- Added option to not set the "can be used by level instance" flag when converting worlds with streaming disabled.

#rb richard.malo
[FYI] jeansebastien.guay
#preflight 6332ed04665f6b8f7f326332
#rnx

[CL 22217635 by jeanfrancois dube in ue5-main branch]
2022-09-27 23:52:36 -04:00
patrick enfedaque
b2b009ca9f Remove BlueprintAsset property. (Can be inferred from ClassGeneratedBy)
#jira UE-148285
#rb sebastien.lussier
#preflight 632de59cd747fe52c8c48327

[CL 22165220 by patrick enfedaque in ue5-main branch]
2022-09-23 20:43:11 -04:00
patrick enfedaque
fb71ca90df LevelInstandeSubsystem fixes:
- Unable  to overwrite existing level
- Deleting level doesn't unload loaded instances

#jira UE-163684, UE-159160
#rb richard.malo, jeanfrancois.dube
#preflight skip

[CL 22039933 by patrick enfedaque in ue5-main branch]
2022-09-15 18:06:19 -04:00
JeanFrancois Dube
e1a154f0d8 World Partition: added better logs and user messages when adding partitioned level instance streaming support fails.
#jira none
#rb patrick.enfedaque
#preflight 6321b98047741a7dbd68c80c
#rnx

[CL 22004468 by JeanFrancois Dube in ue5-main branch]
2022-09-14 07:32:55 -04:00
jeanfrancois dube
6bfd057e95 World Partition: added option to add partitioned level instance streaming via the content browser, and remove the per-instance actor support.
#rb sebastien.lussier
[FYI] jeansebastien.guay
#preflight 630e1f4a98103d4521a759ed
#rnx

[CL 21719467 by jeanfrancois dube in ue5-main branch]
2022-08-31 08:51:11 -04:00
richard malo
a2e941af85 Changed ULevelEditorContextMenuContext's HitProxyActor from TObjectPtr to TWeakObjectPtr to avoid getting reports of a reference to a stale world when entering level instance edit mode.
#rb philippe.deseve
#preflight 62bc7604d8366789fdd52d02

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 20878928 via CL 20879101 via CL 20879125
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20881839 by richard malo in ue5-main branch]
2022-06-29 16:22:54 -04:00
Patrick Enfedaque
47461e11de Level Instance: Allow breaking multiple selection
#jira UE-155847
#rb richard.malo
#preflight 62acc1f1c0449d3dccbd71bb
#robomerge EngineMerge

[CL 20706863 by Patrick Enfedaque in ue5-main branch]
2022-06-17 14:13:33 -04:00
patrick enfedaque
a4ffb07bc3 Level Instance: Persist create settings & add new setting make the create dialog optional.
#rb richard.malo
#preflight skip

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20630207 via CL 20630252 via CL 20630265
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20636330 by patrick enfedaque in ue5-main branch]
2022-06-13 18:38:57 -04:00
Richard Malo
4b28150808 Added option for a Level referenced by a Level Instance to add Data Layer support.
#jira UE-155729
#rb patrick.enfedaque, jeanfrancois.dube
#preflight 62a0c21a433aca401b42105b

[CL 20558073 by Richard Malo in ue5-main branch]
2022-06-08 12:14:52 -04:00
patrick enfedaque
4ca4a48ba1 LevelInstance: Allow overriding LevelInstance class in Editor config
[/Script/LevelInstanceEditor.LevelInstanceEditorSettings]
LevelInstanceClassName=Module.ClassName

#rb richard.malo
#preflight 628238d2232610e495f63789

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20222197 via CL 20222207 via CL 20222214
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20222866 by patrick enfedaque in ue5-main branch]
2022-05-16 09:27:00 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
patrick enfedaque
5ad98ec10f LevelInstance: Edit on null WorldAsset will create a new level
#rb jeanfrancois.dube
#preflight 626aa640b17dd9121b3ba8c6

#ROBOMERGE-OWNER: patrick.enfedaque
#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20039809 via CL 20040120 via CL 20040124
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20040592 by patrick enfedaque in ue5-main branch]
2022-05-04 08:58:05 -04:00
Patrick Enfedaque
73f3cb29a4 LevelInstance: Extract ILevelInstanceInterface, FLevelInstanceActorImpl from ALevelInstance to allow LevelInstance implementation in existing AActor class hierarchies
#rb richard.malo, jeanfrancois.dube
#preflight 62420c81dc6183e3f5d47b90
#rnx

[CL 19541016 by Patrick Enfedaque in ue5-main branch]
2022-03-29 09:19:22 -04:00
patrick enfedaque
b868e8dd08 Rename Log 'Level Instance Log' to 'Packed Level Actor Log'
#rb trivial
#preflight skip

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18788866 in //UE5/Release-5.0/... via CL 18788885 via CL 18788953
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18789757 by patrick enfedaque in ue5-main branch]
2022-01-31 10:19:20 -05:00
julien stjean
85038b578b Fixed a crash caused by not having a ContextActor while generating the submenu Actor -> Level.
The old actor global selection doesn't always contains actors only. It can also contains instances. This is a oddity of the current implementation that should disappear when we will deprecate the global selection sets and the USelection class.

#rb Brooke.Hubert
#preflight 61f1a02ce12e3fcf9b21da1b

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18741441 in //UE5/Release-5.0/... via CL 18741645 via CL 18742879
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18743232 by julien stjean in ue5-main branch]
2022-01-26 15:37:41 -05:00
patrick enfedaque
40783875db Level Instance: remove 'Save Level As'
#rb richard.malo
#preflight 61e08b9b341d372424e32f2c

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18603791 in //UE5/Release-5.0/... via CL 18603828 via CL 18603849
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18603868 by patrick enfedaque in ue5-main branch]
2022-01-13 15:39:53 -05:00