Commit Graph

43 Commits

Author SHA1 Message Date
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
patrick enfedaque
1d8c2498eb Fix Level Instance Edit Mode not exiting properly
#rb richard.malo
#preflight 61e04dd8797757aace804c8d

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18597993 in //UE5/Release-5.0/... via CL 18598082 via CL 18598156
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18598204 by patrick enfedaque in ue5-main branch]
2022-01-13 11:53:38 -05:00
patrick enfedaque
a2ce930723 Level Instance & Packed Level Actor: Experimental Settings (on by default)
#rb richard.malo
#preflight 61d8691234785a82bb9442ca

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18546027 in //UE5/Release-5.0/... via CL 18546035
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18546066 by patrick enfedaque in ue5-release-engine-test branch]
2022-01-07 11:45:52 -05:00
patrick enfedaque
c827257cdb Level Instance:
- Track Move Actors to prevent discarding changes
- Track deleted packages through move operations so they get saved when committing Level instance
- Do not prompt for save anymore when committing existing Level instance
- Consolidate package save/delete tracking inside new LevelInstanceEditorObject

#rb richard.malo
#preflight 61d439b05b6f9bf2e698c4bb

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18507029 in //UE5/Release-5.0/... via CL 18507031
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18507032 by patrick enfedaque in ue5-release-engine-test branch]
2022-01-04 07:28:59 -05:00
patrick enfedaque
e798b6d930 LevelInstance:
- Rename APackedLevelInstance to APackedLevelActor
- Change Context menu structure (moved under Level)
- Make creation of LevelInstance and PackedLevelActor distinct entries
- Remove possibility to create non-BP PackedLevelActors

#rb richard.malo, jeanfrancois.dube
#preflight 61b0f1d45c61dba07bfa92f7

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18418026 in //UE5/Release-5.0/... via CL 18418048
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18418057 by patrick enfedaque in ue5-release-engine-test branch]
2021-12-09 08:09:34 -05:00
patrick enfedaque
5ba87c3025 LevelInstance: avoid Edit sub-menu when only one Level can be edited
#rb richard.malo

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18340646 in //UE5/Release-5.0/... via CL 18340654
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18340665 by patrick enfedaque in ue5-release-engine-test branch]
2021-12-01 12:13:41 -05:00
patrick enfedaque
e94b7f660e LevelInstance: Editor Mode
#rb jeanfrancois.dube, richard.malo
#preflight 61a517c4664cbb92c7a2d602

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18313364 in //UE5/Release-5.0/... via CL 18313817
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18314184 by patrick enfedaque in ue5-release-engine-test branch]
2021-11-29 14:47:15 -05:00
patrick enfedaque
3eaf130e3c WorldPartition: Level Instance created in World Partition world are always OFPA
#rb jeanfrancois.dube

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18295916 in //UE5/Release-5.0/... via CL 18295928
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18295932 by patrick enfedaque in ue5-release-engine-test branch]
2021-11-25 13:29:54 -05:00
patrick enfedaque
e662d52dd4 LevelInstance:
-Remove multi-edit
-Cleanup Edit/Commit

#rb richard.malo
#preflight 619f9d99f70a9e92db82869c

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18294935 in //UE5/Release-5.0/... via CL 18294942
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18294951 by patrick enfedaque in ue5-release-engine-test branch]
2021-11-25 11:13:02 -05:00