Commit Graph

46 Commits

Author SHA1 Message Date
dave barrett
83b8d8035e Fix uninitialized variable in world partition editor grid that effectively caused infinite loop at map load
#jira none
#rb jeanfrancois.dube
#rnx

[CL 16576251 by dave barrett in ue5-main branch]
2021-06-07 15:58:45 -04:00
luc eygasier
ce55ccd24c Allow World Partition cell selection / manipulation with single-click
#rb JeanFrancois.Dube
#robomerge Release-5.0-EarlyAccess
#jira UE-116726

[CL 16540587 by luc eygasier in ue5-main branch]
2021-06-02 18:13:52 -04:00
aurel cordonnier
4c1f424cec no unity fixes
#rb jeanfrancois.dube

[CL 16389788 by aurel cordonnier in ue5-main branch]
2021-05-19 14:05:12 -04:00
Patrick Boutot
0957499c70 Slate: Preperation work for SlateAttribute in FSlot.
Force a valid SWidget pointer for FChildren and for FNoChildren. Deprecate the TSupportsOneChildMixin because it was miss used at some places and cause FChildren to be used as FSlot. Prepare the TPaddingWidgetSlotMixin and TAlignmentWidgetSlotMixin to support invalidation. Fix slot instance that were not using the mixin (easier when we will support SlateAttribute).
#jira UE-109145
#rb daren.cheng, vincent.gauthier
#prefligh 609e94f6cbf9a4000115d883

[CL 16331830 by Patrick Boutot in ue5-main branch]
2021-05-14 13:28:37 -04:00
JeanFrancois Dube
abb35c49a6 Implemented AActor::GetStreamingBounds that returns the actor bounds relevant to streaming.
- For editor-only actors this returns all the components bounds, otherwise it only includes non-editor components.
- Always skip transient components in the streaming bounds calculation.
- This fixes lights having a null bounds for streaming.

#rb none
#rb sebastien.lussier
#preflight 6091a12359592e0001fa3c4c

[CL 16219837 by JeanFrancois Dube in ue5-main branch]
2021-05-06 09:06:55 -04:00
jeanfrancois dube
cd3ad603de World Partition in-editor convert
- By default, don't skip GUID validation.
- Made the commandlet class and the skip GUID validation advanced settings for the in-editor World Partition convert UI.
- If the bGenerateIni option is enabled, automatically open windows explorer in the folder containing the resulting ini file.

#jira UE-107010, UE-107012, UE-107025
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 16011392 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16011416 by jeanfrancois dube in ue5-main branch]
2021-04-14 16:10:04 -04:00
richard malo
f6cbee7e4b Boosted the minimum mouse cursor delta to determine a drag movement in World Partition Editor view.
#rb jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15688310 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15688316 by richard malo in ue5-main branch]
2021-03-12 15:32:29 -04:00
JeanFrancois Dube
fee9e1a49d Moved EnableLoadingOfLastLoadedCells project setting to a per-user setting.
#rb richard.malo
#robomerge[STARSHIP] Release-5.0-EarlyAccess

[CL 15677128 by JeanFrancois Dube in ue5-main branch]
2021-03-11 11:46:31 -04:00
patrick enfedaque
e2e7910793 WorldPartition: No need to save on New Map anymore
#jira UE-108218

#rb francis.hurteau, jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15655138 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15655151 by patrick enfedaque in ue5-main branch]
2021-03-09 12:01:17 -04:00
jeanfrancois dube
0aa3be4071 World Partition editor now has realtime actor descriptors display through a custom actor desc view proxy.
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15653800 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15653803 by jeanfrancois dube in ue5-main branch]
2021-03-09 09:15:58 -04:00
richard malo
68103f3858 Added support of running with -game for partitioned worlds.
Removed support of partitioned subworlds referenced by LevelInstances.
#rb jeanfrancois.dube, patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15653352 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15653371 by richard malo in ue5-main branch]
2021-03-09 07:49:03 -04:00
richard malo
59ff165729 Fixed WorldPartition Editor Grid 2D now showing overlay box in PIE (only in SIE).
#rb jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15530585 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15530602 by richard malo in ue5-main branch]
2021-02-25 13:37:31 -04:00
richard malo
7010f2db00 - Fixed world partition runtime spatial hash to garantee all cells of each grid level covers the world bounds
- Adapted runtime grid previewer to match new grid cell locations
- Allow 2D/3D debug draw of world partition runtime spatial hash while in SIE
#rb jeanfrancois.dube, #fyi patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15493908 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15493919 by richard malo in ue5-main branch]
2021-02-22 16:39:56 -04:00
jeanfrancois dube
e904052c33 Use editor world bounds instead of runtime world bounds for the World Partition editor.
Also focus on the whole world when no actors are selected for the "focus selection" button.

#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15456035 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15466001 by jeanfrancois dube in ue5-main branch]
2021-02-18 20:08:48 -04:00
jeanfrancois dube
f60290c5eb Added option to load last loaded editor cells when opening a partitioned world
- Last loaded cells list will be invalidated if the editor grid topology changes (it shouldn't).
- Can be disabled in the project setting with the bEnableLoadingOfLastLoadedCells property.

#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15402139 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15402140 by jeanfrancois dube in ue5-main branch]
2021-02-13 15:21:06 -04:00
JeanFrancois Dube
0fe6a3a302 Cache the world bounds in World Partition Editor instead of computing it every tick, to make sure it scales for huge worlds.
#rb sebastien.lussier

[CL 15177859 by JeanFrancois Dube in ue5-main branch]
2021-01-25 10:47:42 -04:00
JeanFrancois Dube
9f86bf055c Don't ask to convert non-partitioned worlds when world partition is not enabled in the project settings.
#rb patrick.enfedaque

[CL 15165460 by JeanFrancois Dube in ue5-main branch]
2021-01-22 14:22:05 -04:00
Patrick Enfedaque
7fd09bdd69 WorldPartition: Load Blank map before conversion
#rb simon.tourangeau

[CL 15138681 by Patrick Enfedaque in ue5-main branch]
2021-01-19 16:03:40 -04:00
Simon Tourangeau
03e3158f57 Clarify naming of world size setting for World Partition auto loading of cells
#rb jeanfrancois.dube

[CL 15137493 by Simon Tourangeau in ue5-main branch]
2021-01-19 13:50:57 -04:00
Patrick Enfedaque
618dbd3e9f WorldPartition: Pass in full project path to external conversion process (fixes failed conversion on non-rooted projects)
#rb jeanfrancois.dube
#fyi simon.tourangeau

[CL 15136606 by Patrick Enfedaque in ue5-main branch]
2021-01-19 12:17:14 -04:00
JeanFrancois Dube
ff99d0eb08 Added world partition settings 'MinimumWorldSize' to control the minimum world size.
When loading a partitioned world smaller that this value, we automatically load all cells.

#rb patrick.enfedaque
#fyi simon.tourangeau

[CL 15132229 by JeanFrancois Dube in ue5-main branch]
2021-01-18 15:43:39 -04:00
Patrick Enfedaque
30a2180574 WorldPartition: Avoid Conversion Prompt on New map
#rb jeanfrancois.dube

[CL 15130455 by Patrick Enfedaque in ue5-main branch]
2021-01-18 11:30:39 -04:00
JeanFrancois Dube
5d8123f93a World Partition
- Store the actor label in the actor descriptors, to be able to show labels for unloaded actors.
- Show the actor label in the world partition editor debug display when possible.
- Always rely on the actor weak pointer to determine if an actor descriptor is loaded or not and stop calling FindObject unless we are loading.
- Removed on engine exit and GC hacks in actor descriptors references since we don't call FindObject anymore from IsLoaded.

#rb patrick.enfedaque

[CL 15128845 by JeanFrancois Dube in ue5-main branch]
2021-01-18 10:56:02 -04:00
JeanFrancois Dube
e509e8147d Don't show actors in the world partition editor when a minimap is present.
#rb none

[CL 15066541 by JeanFrancois Dube in ue5-main branch]
2021-01-13 09:50:22 -04:00
JeanFrancois Dube
06fe1de025 Added a project settings to enable world partition.
Once enabled, creating new worlds will always make them partitioned and loading existing ones will ask for conversion.

#rb patrick.enfedaque

[CL 15048451 by JeanFrancois Dube in ue5-main branch]
2021-01-12 09:24:11 -04:00