Commit Graph

11440 Commits

Author SHA1 Message Date
Devin Doucette
db73e60520 DDC: Fixed a compile error in the mock cache store
#preflight skip
#rb trivial
#rnx
#robomerge FNMain

[CL 21301375 by Devin Doucette in ue5-main branch]
2022-08-09 18:09:15 -04:00
Devin Doucette
07e5f7441b DDC: Added a mock cache store for testing the cache
#preflight 62f2c634bc175ec68c149158
#rb Zousar.Shaker
#rnx
#robomerge FNMain

[CL 21300835 by Devin Doucette in ue5-main branch]
2022-08-09 17:55:24 -04:00
jay nakai
2aa0133963 Adjustments to allow easier advanced copy customization
* SetPackageThatInitiatedCopy() is now called before any customization steps to fix issue with inconsistent values in PackageThatInitiatedCopy. Notably that PackageThatInitiatedCopy could be the name of the previous package initiator during some method calls if the same advanced copy customization was re-used during the editor lifetime
* Made UAdvancedCopyCustomization::GetARFilter() virtual so customization have an opportunity to define additional filtering

#rb Lauren.Barnes

#ROBOMERGE-AUTHOR: jay.nakai
#ROBOMERGE-SOURCE: CL 21293857 via CL 21293920 via CL 21293937
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21297704 by jay nakai in ue5-main branch]
2022-08-09 16:34:05 -04:00
Devin Doucette
76e5a1365f DDC: Separated the async completion counter from the cache singleton
#preflight 62f2ae3e3f500fb6dcf79ad1
#rb Zousar.Shaker
#rnx
#robomerge FNMain

[CL 21296269 by Devin Doucette in ue5-main branch]
2022-08-09 15:39:06 -04:00
ennorehling
664320eb6b PR #9375: Common typo: doens't -> doesn't (Contributed by ennorehling)
#preflight 62f27e1a0264595302eefa12
#jira UE-158763
#rb trivial

[CL 21292281 by ennorehling in ue5-main branch]
2022-08-09 13:21:24 -04:00
Chris Varnsverry
0fcb315349 - Fix ConsoleListener attempting to send TCHAR* to cout, printing pointer values instead of strings.
#jira OI-4874
#review-21257422 @Michael.Kirzinger @Stephen.Ma @Alex.Kasianchuk @Sam.Zamani
#preflight 62f28751d76ea4b5030ad047

[CL 21290568 by Chris Varnsverry in ue5-main branch]
2022-08-09 12:19:20 -04:00
jamie dale
9f2519d7f3 Fixed non-unity build
#preflight skip
#rb none
#rnx

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 21277722 via CL 21285961 via CL 21285981 via CL 21286112
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21290435 by jamie dale in ue5-main branch]
2022-08-09 12:16:16 -04:00
jamie dale
a84ca6fb32 Moved some object-centric transaction APIs out of Core and into CoreUObject
The following types have moved to ITransactionObjectAnnotation.h:
- ITransactionObjectAnnotation

The following types have moved to TransactionObjectEvent.h:
- FTransactionObjectDeltaChange
- ETransactionObjectEventType
- FTransactionObjectEvent
- FTransactionDiff

#preflight 62f141b7086f90bbc473f631, 62f1351a904c243122f5eacd
#rb Francis.Hurteau, Rex.Hill

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 21272390 via CL 21285937 via CL 21285973 via CL 21286088
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21290425 by jamie dale in ue5-main branch]
2022-08-09 12:16:06 -04:00
Catalin Dragoiu
d69fb31520 [Insights] Table Import Tool initial implementation
#rb Ionut.Matasaru
#preflight 62f274a40264595302ee9cd9

[CL 21289407 by Catalin Dragoiu in ue5-main branch]
2022-08-09 11:43:04 -04:00
paul chipchase
38ad29096c The DumpPackagePayloadInfo console command now accepts fullobject paths as args as well as filepaths.
#rb trivial
#jira UE-160497
#rnx
#preflight 62f263c43b773d041627830f

[CL 21287990 by paul chipchase in ue5-main branch]
2022-08-09 10:47:23 -04:00
paul chipchase
07ddbfa4f5 Add a config file option to allow payloads stored in .umap and associated "_builddata.uasset" files to be filtered from the virtualization process. This option defaults to true.
#rb Per.Larsson
#jira UE-156750
#rnx
#preflight 62f212e13b773d04161ee7dd

### Problem
- The payloads stored in map files tend to change more than other assets and would cause a lot more churn in the VA system.
- Some other systems like the landscape component are not able to sensibly continue if their payloads cannot be accessed (heightmaps for exmaple) and would prefer not to allow virtualization.
- As a short term fix we need an option to disable the virtualization on all payloads in map files. Future improvements to the filtering system will allow systems to more easily opt their payloads out of virtualization. When this is functional we might want to change the default from true to false.

### Feature
- The config optionf for this filtering is "[Core.VirtualizationModule]FilterMapContent=True"
- Testing if the owning UObject for a payload is in a umap can get tricky, because we not only need to check the umap but we also need to check if it is in a "_builddata.uasset" file, which is an additional file we store next to a umap containing things like lightmaps etc.
- At the moment we check for this by finding the outermost object for the given owner and check to see if it is a ULevel, UWorld or UMapBuildDataRegistry. This is a bit of a kludge but the types we need to check against are not accessible by this module and making them accessible will pull in a lot of dependencies that we'd prefer not to add.
-- One improvement might be to tag the FLinkerSave with the info we need and passing that into the serialization process rather than trying to work it out ourselves but I am wary of making that change until we are 100% sure that we want to keep this feature.

### Refactor
- Removed IVirtualizationSystem::IsDisabledForObject and replaced it with ::FilterPayload which can return multiple reasons for preventing a payload from virtualizing. (the method was added during 5.1 development so it should be fine to just replace it without deprecation)
-- The original behaviour for FVirtualizationManager::IsDisabledForObject has been moved to FVirtualizationManager::ShouldVirtualizeAsset
- Added a new header to declare enums/types used by the various parts of the virtualization system and started by moving EPayloadFilterReason there from the package trailer header. This allows both the core API and PackageTrailer to use EPayloadFilterReason without creating overburdened header dependencies.
-- EPayloadFilterReason has moved from the UE namespace to UE::Virtualization so the package trailer code needed updating accordingly.
- EditorBulkData will ask the virtualization system for the base filter reason, then add it's own reasons if UE_ENABLE_VIRTUALIZATION_TOGGLE is enabled. This bit of code will be removed for 5.1

[CL 21283179 by paul chipchase in ue5-main branch]
2022-08-09 07:51:55 -04:00
nick brett
be3323e0db [UE][FEATURE] PhAT Constraint Transform Editing
- Enable users to view and edit the parent and child frame transforms of constraints in the PhAT details panel
- Constraint transforms are represented as a position and a rotator in the details panel (internally they are represented as a position and a pair of orthonormal vectors)
- Constraint transforms can optionally be displayed in the frame of the assocaited bone OR relative to the default (snapped) transforms
- Allow parent / child transform position / orientation componenets to be 'snapped' to defaults individually
- Support using modifier keys to manipulate only the child frame transform via a viewport widget

#jira UE-119744
#jira UE-119741
#rb [at]Thomas.Sarkanen, [at]sebastian.nordgren
#preflight 62f13b9a23003b62a3d4c277

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21282618 via CL 21282632 via CL 21282638
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21283069 by nick brett in ue5-main branch]
2022-08-09 07:30:26 -04:00
sara schvartzman
897cf294b1 Control Rig: Fix crash when undoing collapse function references
#jira UE-159919
#rb helge.mathee
#preflight 62f139b7d834fe6ee78ff81d

[CL 21282179 by sara schvartzman in ue5-main branch]
2022-08-09 05:01:30 -04:00
sara schvartzman
5d52a11107 Control Rig: Fix crash when copy pasting template node
#jira UE-159896
#rb helge.mathee
#preflight 62f127ec185da2495f7b3e81

[CL 21282129 by sara schvartzman in ue5-main branch]
2022-08-09 04:58:19 -04:00
danny couture
88831798ee Fix potential fatal error when saving a package with skeletal mesh still being loaded asynchronously
#jira UE-160451
#rb PJ.Kack, Francis.Hurteau
#preflight 62f12822086f90bbc46e1542

[CL 21270851 by danny couture in ue5-main branch]
2022-08-08 12:57:01 -04:00
Yujiang Wang
f6dc5c0058 Make sure every uniform buffer name in shader optional data is a valid name, i.e. no more "None"-s. Usually it's $Global being removed
#rb laura.hermanns
#preflight 62f1216bd76ea4b503e25128

[CL 21269863 by Yujiang Wang in ue5-main branch]
2022-08-08 12:01:59 -04:00
luc eygasier
4d284a4bc9 Fixes adding newfiles to Uncontrolled Changelist offline mode when Source Control is disabled.
Fixes Deleted new assets staying in Uncontrolled Changelist.

#rb Patrick.Enfedaque
#preflight 62d9608f3122bf80aefecd30

#changelist validated

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 21267809 via CL 21267821 via CL 21267830
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21269698 by luc eygasier in ue5-main branch]
2022-08-08 11:50:31 -04:00
Tim Smith
606d63e307 Updating LiveCoding to Live++ 1.6.10
#rb self
#preflight 62f128d1185da2495f7b4182

[CL 21269385 by Tim Smith in ue5-main branch]
2022-08-08 11:29:32 -04:00
JeanMichel Dignard
53cacbf75f Interchange
- Added cvars to turn on/off support for each file format. Everything is on by default for now.
- Syntax is: Interchange.FeatureFlags.Import.{file extension}
- Removed the "enable Interchange for Import into level" and "enable Interchange for textures only". The file formats cvars should be used instead.

#rb alexis.matte
#preflight 62daec11ac71f3a225b66daa

[CL 21226489 by JeanMichel Dignard in ue5-main branch]
2022-07-22 14:47:45 -04:00
Laura Hermanns
5217d615d5 Only clear loop control mask instead of replacing Unroll with Loop mask when cross-compiling HLSL-to-HLSL.
#rb Christopher.Waters
#fyi Ryan.Hummer, Andrew.Wang
#preflight 62dae116d54af4b9a244c1dc
#jira UE-160185
#rnx

[CL 21226240 by Laura Hermanns in ue5-main branch]
2022-07-22 14:36:08 -04:00
Robb Surridge
b81ca15f2f Coding standard fixes: gender-inclusive language
#preflight 62d976a8d54af4b9a20784bc
#jira UE-158724
#rb lauren.barnes

[CL 21221236 by Robb Surridge in ue5-main branch]
2022-07-22 11:01:51 -04:00
Devin Doucette
1da9f58aa5 DDC: Optimized Horde Storage cache bucket transforms
#preflight 62dab595d54af4b9a23cea07
#rb Zousar.Shaker
#rnx

[CL 21221014 by Devin Doucette in ue5-main branch]
2022-07-22 10:54:37 -04:00
Devin Doucette
32b644e560 DDC: Use TSharedRef for shared Horde Storage completion functions
#preflight 62da25ec185da2495f7bbf5d
#rb Zousar.Shaker
#rnx

[CL 21220414 by Devin Doucette in ue5-main branch]
2022-07-22 10:21:26 -04:00
Devin Doucette
62f66e3e49 DDC: Fixed verbose logging in the file system cache
#preflight 62da257cbc175ec68cb7b9db
#rb Zousar.Shaker
#rnx
#robomerge FNMain

[CL 21220401 by Devin Doucette in ue5-main branch]
2022-07-22 10:20:41 -04:00
Devin Doucette
e8e097228d DDC: Changed cache replay to enable compression by default
The -DDC-ReplayCompress param has been replaced by -DDC-ReplayNoCompress.

#preflight 62da1f46086f90bbc477b270
#rb none
#rnx
#robomerge FNMain

[CL 21220189 by Devin Doucette in ue5-main branch]
2022-07-22 09:56:23 -04:00