88 Commits

Author SHA1 Message Date
yoan stamant
c9729340a7 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 32478772 by yoan stamant in 5.4 branch]
2024-03-25 14:41:09 -04:00
alex kahn
6a6abbfa61 [Backout] - CL31425693 - CIS UE Error Backout 4/4
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 32477731 by alex kahn in 5.4 branch]
2024-03-25 14:17:33 -04:00
yoan stamant
e527080e32 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 32477590 by yoan stamant in 5.4 branch]
2024-03-25 14:14:31 -04:00
ben hoffman
3364c962f6 Add an option to place actors under a subfolder instead of the root when breaking a Level Instance.
If this option is enabled, the actors will be placed inside the folder the LI is inside of, under a subfolder with the name of the Level Instance, and also keeping their original folder structure.
So if i.e. the Level Instance Actor is called "Desert/LI_House2", and an actor inside is named "Lights/Light_Sun", the actor will be moved to "Desert/LI_House2/Lights/Light_Sun" in the outer level.

#rb aditya.ravichandran, Patrick.Enfedaque
#jira none

#ushell-cherrypick of 30293091 by kristof.morva1

[CL 30537512 by ben hoffman in ue5-main branch]
2024-01-10 11:05:38 -05:00
patrick enfedaque
9c37d9b0d9 Level Instance Details: use ILevelInstanceInterface so details can be used on different impl.
#rb Richard.Malo

[CL 30428358 by patrick enfedaque in ue5-main branch]
2023-12-21 11:39:42 -05:00
patrick enfedaque
ab3bc69d6d LevelInstance
- Remove ShouldExport restriction (was added recently while enabling sub-selection but it doesn't cause issues) which was causing regression in Break Level Instance
- Prevent some operations (Break, Move, Create) when some Level Instances are selected that have selection parents (non-root selections)

#jira UE-201650
#rb Richard.Malo
#rnx

[CL 30083698 by patrick enfedaque in ue5-main branch]
2023-12-04 11:18:06 -05:00
jeanfrancois dube
9880e2bf15 Level Instance:
- Exposed the runtime behavior so we can now place level instances referencing partitioned worlds that will be streamed at runtime instead of embedded in the container world.
  - Don't allow edit in place for partitioned level instance worlds that have streaming disabled, as we load the entire level when doing so and could result in out of memory situations.
  - Added a message box when trying to edit a level instance that can't be edited in place with the reason.
  - Can be reenabled by setting LevelInstanceEditorSettings.bEnableEditInPlaceStreamingEnabled to true.

#rb Patrick.Enfedaque, Richard.Malo

[CL 29784110 by jeanfrancois dube in ue5-main branch]
2023-11-16 13:35:30 -05:00
jeanfrancois dube
bde86cd076 Level Instance: allow replacing actors to level instance class.
#rb patrick.enfedaque

[CL 29568936 by jeanfrancois dube in ue5-main branch]
2023-11-08 14:04:02 -05:00
marc audy
5c5161858a Fix warning V595: The pointer was utilized before it was verified against nullptr.
[CL 29494272 by marc audy in ue5-main branch]
2023-11-06 13:50:30 -05:00
patrick enfedaque
e2ce465deb 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 26183923 by patrick enfedaque in ue5-main branch]
2023-06-22 11:32:48 -04:00
patrick enfedaque
54600eb0e3 Packed Level Actor: Remove unused param
#rb trivial
#rnx

[CL 26178916 by patrick enfedaque in ue5-main branch]
2023-06-22 06:54:13 -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