839 Commits

Author SHA1 Message Date
dominic couture
b8e7906b3a Iterate over migrated packages and do WorldCleanup() on found world.
This is necessary to avoid various issues with Unitialization() in the BeginDestroys() of world subsystems.

#jira UE-214541
#rb JeanFrancois.Dube, Julien.StJean

[CL 34324372 by dominic couture in 5.4 branch]
2024-06-12 17:40:48 -04:00
robert millar
0288a879f5 Fix UE_PROJECTION with constructor.
[CL 32497981 by robert millar in 5.4 branch]
2024-03-26 01:30:51 -04:00
robert millar
df1aaa626f UX for updating redirectors
- Refactor AssetViewUtils::LoadAssetsIfNeeded to take settings struct and return enum code.
- Allow cancelling when loading redirectors or when loading referencers.
- Use AssetViewUtils::LoadAssetsIfNeeded in asset view context menu a well as folder tree to unify progress/cancellation for both

[CL 32497979 by robert millar in 5.4 branch]
2024-03-26 01:30:41 -04:00
aditya ravichandran
6ab350eb19 AssetTools: Fix a bug where FAssetDefinitionProxy::GetIconBrush was calling AssetDefinition->GetThumbnailBrush instead of AssetDefinition->GetIconBrush
#rb JeanMichel.Dignard

[CL 32496316 by aditya ravichandran in 5.4 branch]
2024-03-26 00:34:08 -04:00
robert millar
3a6f111856 Fix up redirectors flow update
- Rename menu entries to Update (Redirector) Referencers
- No separate options for fixup vs fixup and keep
- After fixup, prompt user to delete redirectors if project settings allow
- After fixup, show users what files could not be checked out/saved and what redirectors remain

#rb brooke.hubert

[CL 32492610 by robert millar in 5.4 branch]
2024-03-25 19:42:01 -04:00
alex kahn
7f19c75040 [Backout] - CL31691763 - CIS Compile Error
#rnx
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Fix up redirectors flow update
- Rename menu entries to Update (Redirector) Referencers
- No separate options for fixup vs fixup and keep
- After fixup, prompt user to delete redirectors if project settings allow
- After fixup, show users what files could not be checked out/saved and what redirectors remain

#rb brooke.hubert

[CL 32485873 by alex kahn in 5.4 branch]
2024-03-25 17:24:24 -04:00
robert millar
6e77d75a65 Fix up redirectors flow update
- Rename menu entries to Update (Redirector) Referencers
- No separate options for fixup vs fixup and keep
- After fixup, prompt user to delete redirectors if project settings allow
- After fixup, show users what files could not be checked out/saved and what redirectors remain

#rb brooke.hubert

[CL 32485782 by robert millar in 5.4 branch]
2024-03-25 17:22:45 -04:00
julien stjean
3fe6554c94 Fix the blocked import of a folder when using the extension permissions.
Also I moved the permissions logic closer to the code that actually handle the import.

#rb Alexis.Matte

[CL 32485603 by julien stjean in 5.4 branch]
2024-03-25 17:20:07 -04:00
yafes sahin
788a1a6f35 - IAssetTools.h expose bPrompt and create bIgnoreDependencies
- AssetTools.cpp add a case to only copy the selected assets and ignore the dependencies (usecase for automation)
- Added BP example that implements the scripted asset action with the new migrationOption

#rb Julien.StJean, Takashi.Kuribayashi
[FYI] Michael.Lentine
#tests

[CL 31930116 by yafes sahin in 5.4 branch]
2024-02-29 19:09:45 -05:00
andrew phillips
a7e586cba9 Silencing warning about not copying Verse packages in advanced copy with header patching.
[CL 31257474 by andrew phillips in 5.4 branch]
2024-02-07 10:16:08 -05:00
jeanluc corenthin
44c799af4b Added logic to only disable FBX level import
#jira UE-205931
#rb Alexis.Matte

[FYI] flavien.picon

[CL 31185583 by jeanluc corenthin in 5.4 branch]
2024-02-05 14:57:39 -05:00
sebastien lussier
132dbd795e AssetViewUtils::MoveAssets - Fix issue whe external packages weren't moved
* Previous fix was skipped for non local assets that needed a redirector
#jira UE-198460
#rb JeanFrancois.Dube

[CL 31182386 by sebastien lussier in 5.4 branch]
2024-02-05 13:54:29 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
andrew phillips
87499e5576 Added warning about packages that cannot be found when wanting to be copied.
[CL 30724980 by andrew phillips in ue5-main branch]
2024-01-19 14:55:11 -05:00
andrew phillips
0e3e68ca92 Fix for Headerpatching and Default__$name_C objects
#rb Francis.Hurteau, Dave.Belanger

[CL 30671435 by andrew phillips in ue5-main branch]
2024-01-17 17:32:38 -05:00
andrew phillips
bfca176283 Added scope timer to indicate use of header patching
[CL 30624622 by andrew phillips in ue5-main branch]
2024-01-15 17:02:48 -05:00
andrew phillips
9efd415bc4 Using header patcher instead of root asset package patcher
Based on CL 30214572

Addeds Patching call to IAssetTools.
Consumes the call in a task in the DuplicatePluginCommandlet
#jira UE-199075
#rb Justin.Marcus

[CL 30595853 by andrew phillips in ue5-main branch]
2024-01-12 12:06:14 -05:00
dave belanger
d5bc7391ec Automatically make an asset public when moving it in another plugin if it's going to be referenced from another plugin after the move (including redirectors)
Don't move an asset if it cannot be made public or if it ends up referencing a private asset that's not being moved or if a dependent asset cannot be moved to a different plugin
Only enabled if AssetTools.EnablePublicAssetFeature cvar is set (which replaces ContentBrowser.PublicAsset.EnablePublicAssetFeature)
#rb Rex.Hill
#rnx

[CL 30595439 by dave belanger in ue5-main branch]
2024-01-12 11:54:15 -05:00
andrew phillips
6e403663de Fix for duplicate LOCTEXT ID
#jira UE-203815

[CL 30593190 by andrew phillips in ue5-main branch]
2024-01-12 10:24:44 -05:00
andrew phillips
6713b45484 Header patching.
Surfacing errors.
Removing many duplications of strings

#jira UE-0199079


#rb Francis.Hurteau

[CL 30565134 by andrew phillips in ue5-main branch]
2024-01-11 06:57:01 -05:00
sebastien lussier
b3475efc3d AssetViewUtils::MoveAssets - Fix issue whe external packages weren't moved
* When moving an asset that has external packages (such as a map), make sure to mark all the external packages as needing to be saved
#rb JeanFrancois.Dube
#jira UE-198460

[CL 30393177 by sebastien lussier in ue5-main branch]
2023-12-19 07:56:49 -05:00
jeanluc corenthin
a90d2d8067 Improve Interchange import performance
Took the opportunity:
- Renamed FTaskPipelinePostImport FTaskPostImport as it now includes the call to FinalizeObject_GameThread on factories
- Fixed issues when Interchange is used at runtime
- Only select InterchangeSceneImport asset in content browser when importing a scene

#jira UE-202783, UE-201353
#rb alexis.matte

[CL 30379715 by jeanluc corenthin in ue5-main branch]
2023-12-18 13:24:37 -05:00
alexis matte
9090295af7 Interchange: Add convert legacy fbx option to Interchange API.
#jira UE-202572
#rb jeanluc.corenthin
#rnx

[CL 30353714 by alexis matte in ue5-main branch]
2023-12-15 13:09:45 -05:00
jeanfrancois dube
b13fe07e71 World Partition Actor Descriptor Patching: it is now possible to patch actor descriptors without having to load/save them when migrating projects, through a custom archive that will write out exactly what's read, with support for patching names and soft object paths. This allow migrating projects without having to enable required plugins or load required classes, etc.
#jira UE-201639
#rb andrew.phillips, Sebastien.Lussier

[CL 30158172 by jeanfrancois dube in ue5-main branch]
2023-12-06 11:52:23 -05:00
dave belanger
5fb2a47448 Replace IContentBrowserSingleton::CanChangeAssetPublicState by IAssetTools::CanAssetBePublic
#rb scott.nelson
#rnx

[CL 30090129 by dave belanger in ue5-main branch]
2023-12-04 14:13:00 -05:00