Commit Graph

61 Commits

Author SHA1 Message Date
matt peters
989075aa0e Remove unnecessary check on full object path length
#rb thomas.sarkanen
#rnx
#ushell-cherrypick of 36486113 by gil.jaysmith

[CL 36752932 by matt peters in 5.5 branch]
2024-10-01 18:46:15 -04:00
aditya ravichandran
95977d05fe TEDS Content Browser:
Add folder and asset colors to TEDS
Remove the ItemName_ExperimentalColumn and replace with FNameColumn
Add extension utils to the CB to get/set folder colors
Add a new FFolder tag used by path rows
Remove test asset data and repurpose AssetProcessors.cpp to sync asset/folder data to and from TEDS
Modify the AssetDataLabel widget to show folder/asset colors

TEDS UI:
Add a new FSlateColor column and create a widget to view/edit it



#jira UE-221631
#rb Julien.StJean

[CL 36039406 by aditya ravichandran in ue5-main branch]
2024-09-05 10:36:43 -04:00
eric boucher
ef71ea2b5b New localization option to move localized variants alongside source asset in the content browser and another one to detect if those localized variants are only in Revision Control:
- Project Settings / Editor / Assets / Internationalization / Rename Localized Variants Alongside Source Asset (defaults to: true)
 - Project Settings / Editor / Revision Control / Internationalization / Requires Revision Control to Rename Localizable Assets (defaults to: false) (works only with Perforce)

#jira UE-216348
#rb Jamie.Dale, wouter.burgers
[RN]

[CL 35804579 by eric boucher in ue5-main branch]
2024-08-26 14:02:18 -04:00
danny couture
a01131037f [ALT]
- Deprecate GIsEditorLoadingPackage global and use accessors instead so we can ensure thread-safety
 - Make GIsEditorLoadingPackage compatible with ALT
 - Prevent GIsEditorLoadingPackage from being misused

#jira UE-203917
#rb kevin.macaulayvacher

[CL 33165370 by danny couture in ue5-main branch]
2024-04-23 07:41:00 -04:00
robert millar
c26ffc47ad Fix UE_PROJECTION with constructor.
[CL 32160192 by robert millar in ue5-main branch]
2024-03-11 14:04:23 -04:00
robert millar
7385ad9ece 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 32159723 by robert millar in ue5-main branch]
2024-03-11 13:52:43 -04:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -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
marco anastasi
4fc92d88f3 * Create 'Check in before syncing older snapshot' dialog
* Create Warning dialog for further rewind
* Implement 'Sync snapshot' functionality
* Implement 'Rewind to' functionality

#rb wouter.burgers

[CL 30015297 by marco anastasi in ue5-main branch]
2023-11-30 10:36:24 -05:00
rex hill
d472419152 Fix ensure tripping due to letter case differences in drive letter
#rnx
[FYI] jamie.dale

[CL 28559987 by rex hill in ue5-main branch]
2023-10-06 17:53:47 -04:00
rex hill
9e18ad1f4e Add more details to an ensure we are seeing
#jira
#rnx
#rb jamie.dale

[CL 28471726 by rex hill in ue5-main branch]
2023-10-04 15:59:20 -04:00
francis hurteau
0a395d69e1 Truncation warnings fixes for AssetTools
#rb Devin.Doucette
#jira UE-166274

[CL 26759447 by francis hurteau in ue5-main branch]
2023-08-01 18:48:02 -04:00
wouter burgers
36325e01e6 SourceControl: Optimized SyncPackagesFromSourceControl and SyncPathsFromSourceControl for larger volumes.
The UEFN sync feature calls SyncLatestFromSourceControl, which calls SyncPathsFromSourceControl and could potentially sync a lot of items at once.
By batching the force-load and reset-linkers steps, this operation became significantly faster.

#rnx

[CL 26457416 by wouter burgers in ue5-main branch]
2023-07-19 08:20:24 -04:00
rex hill
b60e183d4a [Content Browser] Fix Clear Thumbnail not working if asset not already loaded into memory.
#rb jamie.dale

[CL 25796920 by rex hill in ue5-main branch]
2023-06-05 13:25:01 -04:00
JeanMichel Dignard
e2515d259e Fixed asset rename not updating the soft object paths for packages that were just renamed and left a redirector.
The issue was that when moving folder A and B, where A has assets that depends on assets in B, we'd ask the asset registry for the B assets referencers and it was returning to original packages which are now a redirectors. We'd then try to patch soft object paths on a redirector instead of on an actual asset.

We now force a rescan of the moved folders so that the asset registry is up-to-date throughout the move folders process.

#jira UE-187092
#rb matt.peters, julien.stjean
#preflight 64779c080d55081f54a1eca0

[CL 25710991 by JeanMichel Dignard in ue5-main branch]
2023-05-31 15:30:56 -04:00
bob tellez
ff7f38f59e #UE Internal, in-UE-root, gamefeatureplugins no longer pad their GameName to 20 characters to prevent filepath length limits from being exceeded. This rule was added to allow plugins to be used in other projects that may have a longer name, but GameFeaturePlugins cannot be used in other projects, since they depend in /Game/ and project-level modules
[CL 25461958 by bob tellez in ue5-main branch]
2023-05-12 19:27:07 -04:00
bob tellez
d10ce6ed57 #UE Update internal buildmachine root path in cooking filepath length calculation
[CL 25458637 by bob tellez in ue5-main branch]
2023-05-12 16:02:39 -04:00
Julien StJean
e9dbd9fb66 [EIS] Minor improvement to the error messaging when renaming an asset.
#jira UE-106770
#preflight 64342ff585398c090c3fc4b4
#rb lauren.barnes

[CL 25007411 by Julien StJean in ue5-main branch]
2023-04-12 10:57:26 -04:00
wouter burgers
8ff2c6c41f SourceControl: Add start/finish delegates to AssetViewUtils sync operations.
[REVIEW] [at]dave.belanger, [at]manuel.lang, [at]brooke.hubert
#preflight none

#localization none
#tests manual

[CL 24412834 by wouter burgers in ue5-main branch]
2023-02-24 19:03:48 -05:00
stuart hill
60cdf1962c When moving an asset to a different folder in the Editor, do not show the "Check Out Assets" dialog if the Automatically Checkout on Asset Modification option is selected.
Moving an asset can replace the original asset with a redirector, so the source control system will consider the asset in the old location to be modified and the asset in the new location to be added.

#preflight 63e400085c0ce8f11b030df3

[CL 24090216 by stuart hill in ue5-main branch]
2023-02-08 22:01:06 -05:00
wouter burgers
0aa122ff5c SourceControl: Added notification if sync fails when getting latest, similar to the warning shown by FSourceControlWindows::PromptForCheckin for checkin fails.
In addition, I refactored AssetViewUtils::SyncPathsFromSourceControl somewhat.
- Added alternative (preferred) way to get affected files/packages using the FSyncPreview operation as opposed to querying the AssetRegistry.
- Added support for hot reloading the world if one of its external packages (actor/object) got synced so those changes are reflected in the viewport.
- Added support for passing in either content paths or absolute paths to sync.

- Deprecated the 'bIsSyncLatestOperation' parameter from SyncPackagesFromSourceControl.

Note that SyncPackagesFromSourceControl now has a single internal caller (FAssetSourceControlContextMenuState::ExecuteSCCSync).
Note that SyncPathsFromSourceControl now has a single internal caller (FSourceControlWindows::SyncLatest).

[REVIEW]
#preflight 63e3a014244dc45a201c918d

[CL 24074948 by wouter burgers in ue5-main branch]
2023-02-08 12:17:26 -05:00
jamie dale
5fa5b98920 Added additional FPackageName::ObjectPathToX functions
The following functions are new:
 - ObjectPathToPathWithinPackage, eg) "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "MyAsset:SubObject.AnotherObject"
 - ObjectPathToOuterPath, eg) "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "/Game/MyAsset.MyAsset:SubObject"
 - ObjectPathToSubObjectPath, eg) "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "SubObject.AnotherObject"

The behavior of ObjectPathToObjectName has also been fixed to always return the leaf-most object name within the path (eg, "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "AnotherObject"). Any code that relied on the old behavior should use ObjectPathToSubObjectPath instead.

#preflight 63e2677e1020773a3f32f55b
#rb Matt.Peters

[CL 24057677 by jamie dale in ue5-main branch]
2023-02-07 15:29:21 -05:00
wouter burgers
192829d351 SourceControl: Refactored UsesCustomProjectDir / GetSourceControlLocations usage pattern.
[CL 23965223 by wouter burgers in ue5-main branch]
2023-02-02 03:44:18 -05:00
stuart hill
df6df596f7 Ensure the camera does not reset when we are syncing or reverting a file or all files via source control
A scoped class is added to retain and restore all camera views which is used when we reload or sync packages.

#preflight 63d2766de55deff624ed1b5a

[CL 23867883 by stuart hill in ue5-main branch]
2023-01-26 10:15:04 -05:00
marco anastasi
96fdec112c Fixed: SkeinUE does not sync latest if only non-package files have changed
[REVIEW] [at]manuel.lang, [at]wouter.burgers

[CL 23821510 by marco anastasi in ue5-main branch]
2023-01-23 16:16:19 -05:00