Commit Graph

48 Commits

Author SHA1 Message Date
patrick enfedaque
8d2fff2a36 DataLayer: Allow default editor load state to be unloaded + Resetting user settings
#rb richard.malo


#ROBOMERGE-SOURCE: CL 16645420
#ROBOMERGE-BOT: (v833-16641396)

[CL 16645445 by patrick enfedaque in ue5-main branch]
2021-06-11 15:21:31 -04:00
brooke hubert
7655a7b154 Use slate common FOnDrop delegate in SDropTarget and deprecate the one off delegate version.
#Jira none
#review-16522125
#rb lauren.barnes jeremie.roy max.chen patrick.boutot
#fyi frank.fella
#preflight 60b8ee03ae46a100018c62f5

[CL 16549602 by brooke hubert in ue5-main branch]
2021-06-03 13:22:59 -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 Enfedaque
94886eab75 WorldPartition: DataLayer Multiplayer Support
#rb richard.malo, jeanfrancois.dube
#preflight 60a3d144668acd0001d92ec0

[CL 16370566 by Patrick Enfedaque in ue5-main branch]
2021-05-18 13:18:25 -04:00
vincent beauchemin
1787cbe18f Remove the ability to create new data layer by just drag & drop. Creating a data layer should not be necessarily easy to do and we expect a full project to only have a few. Current impl was confusing because it worked only for the 1st data layer that you created.
#rb richard.malo
#jira UE-113613

[CL 16354267 by vincent beauchemin in ue5-main branch]
2021-05-17 12:31:37 -04:00
Patrick Enfedaque
2cd09a2e64 DataLayerBrowser: Optimize LevelAdded/Removed to avoid FullRefresh (from ~1000 calls costing ~800ms to ~20ms)
#rb roey.borsteinas, richard.malo
#preflight 6099482cf7efe60001e13922

[CL 16249490 by Patrick Enfedaque in ue5-main branch]
2021-05-10 11:47:09 -04:00
Sebastien Lussier
508f9bacc5 Horde Issue 69162 - Fixed non-unity build
#rb vincent.beauchemin

[CL 16220204 by Sebastien Lussier in ue5-main branch]
2021-05-06 09:52:07 -04:00
roey borsteinas
32bbd90085 DataLayers: Show unloaded actors in data layers view
#jira UETOOL-3463
#preflight 6091a8d458c47900015ff550

[CL 16199584 by roey borsteinas in ue5-main branch]
2021-05-04 17:24:35 -04:00
JeanFrancois Dube
10b0964599 Data Layers changes
- Keep a reference to the data layers actor in the level to ensure initial loading.
- Always create a data layers actor when creating a new partitioned world.

#rb richard.malo

[CL 16183601 by JeanFrancois Dube in ue5-main branch]
2021-05-03 09:39:35 -04:00
JeanFrancois Dube
9c1619a06e Backout 16168385
#rb none

[CL 16171759 by JeanFrancois Dube in ue5-main branch]
2021-04-30 15:09:08 -04:00
JeanFrancois Dube
9a9cdd80ca Data Layers changes
- Keep a reference to the data layers actor in the level to ensure initial loading.
- Always create a data layers actor when creating a new partitioned world.

#rb richard.malo
#preflight 608c0838a0d23c000116164c

[CL 16168385 by JeanFrancois Dube in ue5-main branch]
2021-04-30 10:54:42 -04:00
Richard Malo
b166dc940c Added sanitization of DataLayer Labels
#rb patrick.enfedaque

[CL 16096097 by Richard Malo in ue5-main branch]
2021-04-22 14:28:59 -04:00
richard malo
882d901847 Fixed DataLayerHierarchy not properly uninitialized. Also fixed case where hierarchy could access deleted SDataLayerBrowser.
#jira UE-113743
#rb jeanfrancois.dube
#lockdown simon.tourangeau

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

[CL 16050511 by richard malo in ue5-main branch]
2021-04-19 10:09:54 -04:00
richard malo
3e3e024c09 Fixed Actor's Data Layer display name when multi section differs in details view.
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15799399 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15807669 by richard malo in ue5-main branch]
2021-03-24 16:27:59 -04:00
danny couture
9ac59bee66 Add meaningful Insights trace affecting either map loading or PIE
#rb Francis.Hurteau

[CL 15777110 by danny couture in ue5-main branch]
2021-03-23 10:58:12 -04:00
richard malo
4466b594bb Fixed Drag & Drop of Data Layers in Actor Data Layers array
#rb patrick.enfedaque

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

[CL 15740272 by richard malo in ue5-main branch]
2021-03-18 14:53:44 -04:00
richard malo
9a4289de40 - Changed Data Layer Visibility to be transient
- Added Data Layer bIsInitiallyVisible persistent flag to control Data Layer visibility flag initial value when loading map
- Fixed bug when changing map, Data Layer visibility was not properly reflected on actors
- Better Data Layer properties categorisation (Runtime vs Editor)
- Changing Data Layer IsDynamicallyLoaded flag is now only possible in its Details view
- Allow IsDynamicallyLoadedInEditor for any type of Data Layer
#rb jeanfrancois.dube, patrick.enfedaque

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

[CL 15728630 by richard malo in ue5-main branch]
2021-03-17 15:17:35 -04:00
Patrick Enfedaque
ddcc546de8 WorldPartition: Query runtime streaming state support through the WorldPartitionSubsystem + expose Loaded target state to DataLayers + StreamingSource
- This will allow prefetching of streaming cells without activating them (making visible)
- Ability to query the state of WorldPartition streaming at a specific location/radius/for specific data layers/etc

#rb richard.malo

#ROBOMERGE-OWNER: Patrick.Enfedaque
#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 15719768 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15724577 by Patrick Enfedaque in ue5-main branch]
2021-03-17 11:14:06 -04:00
roey borsteinas
2f25598a9e SceneOutliner: added support for batching hierarchy change events
#ROBOMERGE-SOURCE: CL 15541886 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15541892 by roey borsteinas in ue5-main branch]
2021-02-26 16:05:54 -04:00
jamie dale
107f7b0f0c Audited use of FDetailsViewArgs::ObjectsUseNameArea
CL# 15481362 changed the behavior of ObjectsUseNameArea so that the object name was visible, and upon auditing the current use of ObjectsUseNameArea it was found that all but a few cases likely intended to use HideNameArea instead.

Breaking: This change also renames FDetailsViewArgs::bShowActorLabel to FDetailsViewArgs::bShowObjectLabel to reflect what it actually does.

#rb Brooke.Hubert

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

[CL 15496134 by jamie dale in ue5-main branch]
2021-02-22 19:45:57 -04:00
jeanfrancois dube
237655f8a3 Always flush the transaction buffer when loading / unloading editor cells.
Stop refreshing the loading state of all editor cells from the data layers undo callback.

#rb richard.malo

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

[CL 15489097 by jeanfrancois dube in ue5-main branch]
2021-02-22 10:10:03 -04:00
jeanfrancois dube
b85c3af33d Added per-world user settings in WorldPartitionEditorPerProjectUserSettings.
Merged DataLayerEditorPerProjectUserSettings into WorldPartitionEditorPerProjectUserSettings.
#rb richard.malo

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

[CL 15403450 by jeanfrancois dube in ue5-main branch]
2021-02-14 10:05:19 -04:00
jeanfrancois dube
bdaeafa691 Properly support dragging multiple actors to the data layer browser.
#rb richard.malo

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

[CL 15383271 by jeanfrancois dube in ue5-main branch]
2021-02-10 19:52:02 -04:00
jeanfrancois dube
cde3f7db62 Data Layers Loading
- Disabled AInfo grid placement, runtime grid and data layers properties as they can't be changed by the user.
- Don't allow assigning data layers to AInfo.

#rb richard.malo

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

[CL 15383265 by jeanfrancois dube in ue5-main branch]
2021-02-10 19:51:47 -04:00
jeanfrancois dube
92e77616c2 Data Layers
- Added the concept of locked layers, which can be set to prevent the user to add or remove actors from the list, and also prevent deleting or renaming the layer. Users can't create locked data layers, only meant to be created by custom code to group actors together. The first use case will be procedural generation, to easily gather previous generation actors from actor descriptors.
- Make sure we always have a world data layer actors when converting a map wo world partition or when loading a partiioned world.

#rb richard.malo

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

[CL 15368892 by jeanfrancois dube in ue5-main branch]
2021-02-09 15:01:37 -04:00