79 Commits

Author SHA1 Message Date
patrick enfedaque
e0ef8b4afe Packed Level Actors:
- Fix PackedLevelActors not being properly unloaded when deleted
- Fix Packing failing when packing while packing world already loaded (use FPreviewScene to isolate packing into its own world)

#rb richard.malo
#rnx

[CL 26187000 by patrick enfedaque in 5.3 branch]
2023-06-22 13:32:10 -04:00
patrick enfedaque
d9e5e90138 Packed Level Actor: Remove unused param
#rb trivial
#rnx

[CL 26186546 by patrick enfedaque in 5.3 branch]
2023-06-22 13:17:45 -04:00
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
924ce2e2c5 ActorEditorContext:
- Allow switching Current level from context in WP World
- Unify display of Current Level when editing Level Instance (WP and non-WP)
- Level Instance Mode will lock/unlock selection and render postprocess based on current level being the Level Instance level or not.

#rb richard.malo, jeanfrancois.dube
#preflight 647501192e05bcc330bd4059
#rnx

[CL 25674513 by patrick enfedaque in ue5-main branch]
2023-05-30 06:44:15 -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
patrick enfedaque
50cff2ef16 LevelInstance: Now that we have a Mode overlay UI (Shift+L will remove postprocess)
#rb richard.malo
#preflight skip
#rnx

[CL 25288374 by patrick enfedaque in ue5-main branch]
2023-05-01 14:33:45 -04:00
patrick enfedaque
24285ffb57 LevelInstanceEditorModeToolkit: Fix crash on editor exit (while editing LevelInstance)
#rb none
[FYI] richard.malo
#preflight none
#rnx

[CL 25238795 by patrick enfedaque in ue5-main branch]
2023-04-28 15:57:07 -04:00
patrick enfedaque
19271a2d58 LevelInstance: Editor Mode Overlay
#preflight 644a75eaf451a62211a8bcb9
#rb richard.malo
#rnx

[CL 25215224 by patrick enfedaque in ue5-main branch]
2023-04-27 11:14:32 -04:00
patrick enfedaque
a0fa6ad52c Actor Filter: Fix Apply to multiple instances always applying last value to all instances
#rb richard.malo
#preflight 6446b6a627014596f37bfac6
#rnx

[CL 25175424 by patrick enfedaque in ue5-main branch]
2023-04-24 23:19:11 -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
76c9c9cf52 WorldPartitionActorFilter: Cleanup + Caching
- Move Registered containers into WorldPartitionSubsystem
- Move Filtering code into WorldPartitionSubsystem
- Share filtering code between Editor Filter and Generate Streaming

#rb richard.malo, jeanfrancois.dube
#preflight 641c56ab61213d974ff22e17
#rnx

[CL 24764320 by patrick enfedaque in ue5-main branch]
2023-03-23 13:04:47 -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
d76798dcec LevelInstance: Blueprint Filter editing support
#rb richard.malo
#preflight 6408fe0c6d06d9a1426bfc81
#rnx

[CL 24575456 by patrick enfedaque in ue5-main branch]
2023-03-09 09:45:52 -05:00
patrick enfedaque
50f882fe95 Fix Non-unity build
#rb none
#rnx

[CL 24563532 by patrick enfedaque in ue5-main branch]
2023-03-08 13:40:20 -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
patrick enfedaque
372d0e046e Level Instance Pivot Picker:
- Preview picker location when changing it from the details panel
- Use Actor Picker which isn't restricted to the Level Instance actors

#jira UE-174434
#rb richard.malo
#preflight 63cfe5fb976daa618c996b60

[CL 23831919 by patrick enfedaque in ue5-main branch]
2023-01-24 11:24:47 -05:00
henrik karlsson
d5026d4d83 Strategical submit which adds includes in preparation for coming change which removes includes in headers
#preflight 636531a1581dc906bce283d1
#rb none

[CL 22994620 by henrik karlsson in ue5-main branch]
2022-11-04 16:37:48 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04: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