Commit Graph

16 Commits

Author SHA1 Message Date
marco anastasi
6a813ac677 Fix auto checkout crash on shutdown
(from CL 23209637)

#jira UE-170531
#rb trivial
#preflight 6378159c170bc34a938655a4

[CL 23220150 by marco anastasi in ue5-main branch]
2022-11-21 09:10:06 -05:00
marco anastasi
b4082937ec Imported changes submitted by Zach Rammel in CL 23186123 in UE5/Main
#preflight 6377d2f4815e4b9b755be05e

[CL 23219099 by marco anastasi in ue5-main branch]
2022-11-21 06:37:45 -05:00
zach rammell
14079f9b95 Fix auto checkout crash on shutdown
#jira UE-170531
#rb trivial
#preflight 6378159c170bc34a938655a4

[CL 23209637 by zach rammell in ue5-main branch]
2022-11-18 18:48:40 -05:00
zach rammell
cedfc997c9 Async background checkout now a component of unsaved assets tracker
Provides additional delegate hooks for automatic checkout

#jira FORT-532819
#preflight 6376b4a2337745090032e99c

[CL 23186123 by zach rammell in ue5-main branch]
2022-11-17 17:50:36 -05:00
patrick laflamme
152468f685 Fixed UnsavedAssetTracker to display the 'Unsaved' count that matches what the engine considers 'to be saved'.
- Fixed cases when working on an /Temp map package, typically an 'Untitled' map.
  - Fixed cases when adding/deleting an actor from the map.

#jira UE-169302 - The Unsaved Assets Tracker counter get out of sync when working on a /Temp OFPA map
#rb Brooke.Hubert
#preflight 636bf8ae843e6ac7942d6dc0

[CL 23071815 by patrick laflamme in ue5-main branch]
2022-11-10 01:08:15 -05:00
aditya ravichandran
7be93c5466 Outliner:
Add a filter and column to show Unsaved Assets.
Add a filter and modify the source control column to show uncontrolled assets
#jira UE-168231
#rb patrick.laflamme
#preflight 6361417a397c7af8966cec38

[CL 22890180 by aditya ravichandran in ue5-main branch]
2022-11-01 16:02:53 -04:00
patrick laflamme
6bfbcc62ee Fixed the UnsavedAssetsTracker being invoked on a background thread and firering delegates to code that assumes everything happens on the game thread.
#rb Brooke.Hubert
#preflight 63603d8c6f0c0303e6c6fccb

[CL 22888646 by patrick laflamme in ue5-main branch]
2022-11-01 15:09:39 -04:00
nick darnell
954d29b9f5 Editor - Beginning the process to no longer make loading all assets you right click in the content browser. The first step, is setting up the code to have a deprecation flag DEPRECATE_ASSET_TYPE_ACTIONS_NEEDING_LOADED_OBJECTS, this will make it illegal to implement GetActions on all AssetTypeAction implementations. Checked in disabled, enable it locally to begin trying to implement the recommended method detailed in the IAssetTypeActions header. WIP. One of the things this change does is outlaw (regardless of deprecation) the HasActions() function, this function is no longer used at all, and so we may as well remove its implementation, it also works well as a canary in finding other samples and things that need to be upgraded.
#jira UE-165574
[REVIEW] [at]Rex.Hill, [at]Lauren.Barnes
#preflight 63483c43ad0f7e2f20e44910

[CL 22534452 by nick darnell in ue5-main branch]
2022-10-14 16:59:41 -04:00
rex hill
d3a9141943 CIS fix
[CL 22425003 by rex hill in ue5-main branch]
2022-10-09 23:38:15 -04:00
rex hill
dcae51e633 Salvage a merge conflict
[CL 22424995 by rex hill in ue5-main branch]
2022-10-09 23:38:01 -04:00
rex hill
83ca518a72 Optimization pass on FUnsavedAssetsTracker::SyncWithDirtyPackageList()
#preflight skip
[FYI] Patrick.Laflamme

[CL 22424978 by rex hill in ue5-main branch]
2022-10-09 23:37:31 -04:00
patrick laflamme
7b2b492042 Optimized the UnsavedAssetsTracker to avoid building the full package pathname for package that are already tracked.
#jira UE-166080 - Large frame rate hit when recording a CineCameraActor
#rb Patrick.Enfedaque
#preflight 63403ee9587d6afac85a7b4d

[CL 22406976 by patrick laflamme in ue5-main branch]
2022-10-07 15:23:52 -04:00
patrick laflamme
fe0523d016 Fixed the unsaved assets tracker crashing when auto-saving package.
Fixed the unsaved assets tracker to correctly work undo/redo.
Fixed the unsaved assets tracker to correctly handle when the temporary 'Untitled' map is discarded or saved.

#rb Patrick.Enfedaque
#preflight 633cbe0a4a2cd8f4b26d43c2

[CL 22361796 by patrick laflamme in ue5-main branch]
2022-10-05 15:48:36 -04:00
patrick laflamme
929a6b3faf Fixed missing #undef LOCTEXT in UnsavedAssetsTracker.cpp the extra #undef LOCTEXT in UnsavedAssetsTrackerModule.cpp.
Fixed log level in UnsavedAssetsTracker to be verbose rather than log.

#rb none
#preflight trivial

[CL 22330988 by patrick laflamme in ue5-main branch]
2022-10-04 11:03:54 -04:00
patrick laflamme
15e586cc1b Fixed a crash in the UnsavedAssetsTracker when packages in the /Memory mount point gets dirty.
Fixed the UnsavedAssetsTracker to not track 'PlayInEditor' packages and packages from /Temp

#rb None
#preflight 633b476ec250f60502d20f34

[CL 22327080 by patrick laflamme in ue5-main branch]
2022-10-04 01:25:36 -04:00
patrick laflamme
068b6058ab Implemented the 'Unsaved' Editor status bar button that displays the number of unsaved assets (dirty packages) the user and potential warnings with respect to the source control those asset may have.
- Implemented the UnsavedAssetTrackers plugin and enabled it by default.
  - Added the 'Unsaved' button to the Editor taskbars to display the number of unsaved packages along with a warning icon if warning are associated with one of the unsaved files.
  - Updated the 'Save Content' package to display warnings if one of the packages has warnings.
  - Added a class to monitor and periodically update the source controlled status of a collection of files/packages.
  - Changed the default value of PromptForCheckoutOnAssetModification settings to False because the Unsaved button flow is complementary (and the popup was noisy for OFPA users).
  - Updated the changelist window to use the soure control file status monitor.

#jira UE-163734 - Implement the 'Unsaved' Editor Taskbar Button
#rb Patrick.Enfedaque
#preflight 633ae915b12b8af5fde80f7c

[CL 22322224 by patrick laflamme in ue5-main branch]
2022-10-03 20:38:09 -04:00