Commit Graph

727 Commits

Author SHA1 Message Date
Patrick Boutot
6e02de5817 Fix memstomp with color picker. Prepare SColorPicker for API change. Update AssetViewUtilis::PathColors to use FLinearColor instead of shared pointer. The shared pointer was only needed for the SColorPicker.
#jira UE-173303, UE-173454
#review-23672715 23617361,23611673
#rb daren.cheng
#preflight 63c0b12b1a06fc61059f2fa3

[CL 23672712 by Patrick Boutot in ue5-main branch]
2023-01-12 20:33:08 -05:00
nick darnell
3e81121a50 AssetDefinition - "UV Editor" plugin's option no longer hides if it won't work (determining it requires loading the assets), so it's just going to determine that when you fire it and fire a notification if it wont work.
AssetDefinition - Skeleton
AssetDefinition - SkeletonMesh
AssetDefinition - StringTable

#jira UE-165574

[CL 23658411 by nick darnell in ue5-main branch]
2023-01-11 20:52:36 -05:00
julien stjean
547e401ec2 Added the auto save flag to the package migration to avoid some asset from generating stuff on save.
#rb none

[CL 23635342 by julien stjean in ue5-main branch]
2023-01-10 18:11:49 -05:00
dj schilens
f346caac06 Compile AR filter only once when getting Advanced Copy sources/dependencies
- Using Advanced Copy on assets with lots of dependencies spent most of the time just compiling the AR filter
- I kept the original IAssetRegistry::UseFilterToExcludeAssets() (using an FARFilter) as it is blueprint callable

[REVIEW] [at]*matt.peters [at]jay.nakai [at]brooke.hubert

[CL 23631854 by dj schilens in ue5-main branch]
2023-01-10 15:25:00 -05:00
julien stjean
8b4de387d0 The migration can now change the writing permissions temporally to save the migrated assets.
The migration also now report in its callback the dependencies that where not exported because of the new filtering of the assets that can be migrated.
Fixed some other issues like a crash and a bad event broadcast.

#preflight 63bc235c763c6c10641898bb
#rb JeanLuc.Corenthin

[CL 23617167 by julien stjean in ue5-main branch]
2023-01-09 13:51:05 -05:00
nick darnell
32457bcb13 AssetDefinition - Converted Fonts/FontFaces, SlateBrush, SlateWidgetStyle, and Lightweight instance.
#jira UE-165574

[CL 23592534 by nick darnell in ue5-main branch]
2023-01-05 16:11:54 -05:00
nick darnell
f8bd93f6b1 AssetDefinition - Converting the Haptic AssetTypeActions to AssetDefinitions.
The copying localization ID is now an option stated as such instead of a right click showing the ID you click.  In order to show the ID the asset has to be loaded, so instead it's now a copy operation that then loads the asset before copying the ID.

Fixing a regression that stopped showing export options for unloaded assets.  The code was using FastGetAsset, which won't load the asset if unloaded.  The new code just looks at the package flags from the FAssetData, no need to attempt to load the asset.

#jira UE-165574
#jira UE-173203

[CL 23588044 by nick darnell in ue5-main branch]
2023-01-05 10:47:04 -05:00
marc audy
ea78b28a70 Fixed so all headers can be compiled stand alone
#preflight 63b529e5592c1a9d7c665974
#rb none

[CL 23580295 by marc audy in ue5-main branch]
2023-01-04 15:49:53 -05:00
nick darnell
1c90989c93 AssetDefinition - Further work, adding Materials and associated types as AssetDefinitions, removing their AssetTypeActions.
AssetActionUtility Blueprints - You can now add a further refinement step in addition to a class filter you can specify Content Browser style filter strings and an error message so that people can see the scripted action, but will know why it's not available to them.  Like maybe you have a thing that only can run on non virtual texture streaming assets, you could filter on that tag inaddition to the texture class.

#jira UE-165574

[CL 23580250 by nick darnell in ue5-main branch]
2023-01-04 15:48:50 -05:00
Julien StJean
271ad53750 The import of assets via the asset tools now validate that destination path is mounted and avoid crashing if this is not the case.
#jira FORT-536561
#rb Alexis.Matte
#preflight 63b597948c5081ee9a108713

[CL 23575706 by Julien StJean in ue5-main branch]
2023-01-04 10:18:45 -05:00
julien stjean
41f2a11be6 Fixed a crash when an asset save fail and report a error during a migration. Also fixed a crash when saving over a read only file during a migration.
#jira UE-170830
#preflight 639a16692540a78d27951403
#rb jeanluc.corenthin
#lockdown jeanmichel.dignard

[CL 23570689 by julien stjean in ue5-main branch]
2023-01-03 17:16:10 -05:00
dominik peacock
e1874567a6 AssetTools: Fix allocation typo
#jira UE-172760
#rb Julien.StJean
#lockdown Alejandro.Arango
#preflight 6399d9368c5081ee9a955cf5

[CL 23531526 by dominik peacock in ue5-main branch]
2022-12-15 16:01:37 -05:00
Jurre deBaare
31f1b097fd Animation Compression
- Added new compression and 'compiling' API/path
  * Relies on newer DDC API
  * Only fetches compressible data when data is not found in DDC
  * Fetching data happens off the GT now (including Additive animation)
- Deprecated and replace AnimSequence API around compression
** AnimStreamable still relies on old, synchronous, compression path **

IAnimationDataModel
- Removed bone track data being stored as FBoneAnimationTrack
- Bone animation can now only be referenced by Name (not track index anymore)
- Deprecated any API relying on FBoneAnimationTrack
- Added API to retrieve FTransform(s) for given frame(s) with provided bone name
- Added API to lock model against modifications during evaluation (required for non-racing off-GT evaluation)

Animation Sequence
- Frame-rate is now stored on a per-platform basis, allowing for future replacement of frame-stripping (editing property is disabled for now)
- Now allows for storing _transient_ per-platform compressed animation data (required for multi-platform cook)

PerPlatformProperties
- Added per-platform FFrameRate implementation

#preflight 63999f102540a78d2778adb7
#rb Thomas.Sarkanen, Nicholas.Frechette, Devin.Doucette
#fyi Zousar.Shaker

[CL 23510521 by Jurre deBaare in ue5-main branch]
2022-12-14 05:56:08 -05:00
julien stjean
bb459acb6c Fixed an issue caused by the asset migration.
It was leaving some invalid asset data in the asset registry. These were from the temporally created assets during the migration.

#jira UE-169082
#preflight 6363d5a0882365b8594c3d3c
#rb jeanmichel.dignard
#lockdown jeanmichel.dignard

[CL 23500162 by julien stjean in ue5-main branch]
2022-12-13 18:28:11 -05:00
Danny Kabrane
cad2eec99f AssetTypeActions_MaterialInstance:
- Allow material instances to be reimported from the content browser

InterchangeMaterialFactory:
- Adding the Interchange reimport strategy for the Material Instances

DatasmithImportFactory
- Fixing the window dialog not be prompted when a Material Instance  uses the Reimport With New File from the Content Browser

#jira UE-170722
#preflight 6398701f776b61ba3b2862e0
#rb JeanLuc.Corenthin

[CL 23490353 by Danny Kabrane in ue5-main branch]
2022-12-13 07:51:10 -05:00
julien stjean
076ff768e0 Fixed a issue where the engine assets couldn't be migrated. This is a regression that can block some user workflow.
#jira UE-172023
#preflight 638f68a09549ddaa286b55fb
#rb jeanluc.corenthin
#lockdown jeanmichel.dignard

[CL 23482205 by julien stjean in ue5-main branch]
2022-12-12 15:40:34 -05:00
wouter burgers
591eb1d989 SourceControl: Applied fix to AssetViewUtils::SyncPackagesFromSourceControl which was previously applied to AssetViewUtils::SyncPathsFromSourceControl in #20222478.
#preflight none

[CL 23475564 by wouter burgers in ue5-main branch]
2022-12-11 23:21:26 -05:00
Mike Zyracki
ec7b0acc45 Sequencer: Curve Editor: Improve curve editor playback speed by using an UMG SRetainerWidget that caches to a render target. We then tie the new caching of our lines/keys so that if our cache updates we just then need to manually RequestRender on the RetainerWidget. This gives us nearly no performance decrease now when rendering curves. In AssetTools it uses the CurveEditorView module causing a cycle, but it's not actually needed since it loads and uses the module directly and uses privateincludedepency instead. Currently we need to include UMG but this will probably change as Daren get's time to move the RetainerWidget code to a different module.
#jira UE-157989
#preflight 638fc71cc0652bbec29c5cfd
#rb daren.cheng, matt.hoffman

[CL 23432453 by Mike Zyracki in ue5-main branch]
2022-12-07 14:21:16 -05:00
ben hoffman
0a8bf2434a Update force feedback effects to use the subsystem instead of the prototype version of device properties
#rnx
#pf 638a1e983b617fd4be47bb3a
#rb me

[CL 23376652 by ben hoffman in ue5-main branch]
2022-12-02 14:13:14 -05:00
aditya ravichandran
f8b7ee5555 Replace any instances of "Source Control" with "Revision Control" in text in the Editor
#rb JeanMichel.Dignard, Robb.Surridge
#preflight 637d180efa348e8480e8837e

[CL 23250808 by aditya ravichandran in ue5-main branch]
2022-11-23 11:57:50 -05:00
jurre debaare
2592800cee UEFN - Users are able to apply Animation Modifiers via the right-click context menu
#rb Thomas.Sarkanen
#preflight 637e03952a05dabce9c11f0c

[CL 23248743 by jurre debaare in ue5-main branch]
2022-11-23 09:10:53 -05:00
stuart hill
9311376d2d Add the process of storing and restoring the camera location and rotation when source control is syncing packages
If a sync with source control reloads the map then it will perform a camera reset.
We can improve the user experience by restoring the camera position and rotation to prevent the camera moving each time a user syncs.

#rb Marco.Anastasi, wouter.burgers
#preflight 637cbe28fa348e8480c94440

[CL 23235166 by stuart hill in ue5-main branch]
2022-11-22 10:05:36 -05:00
patrick enfedaque
196d8b261c Fix Actor label wasn't used anymore in Save Package Dialog
#rb richard.malo
[FYI] nick.darnell
#preflight 637bc1c8e30d438849322d3b

[CL 23228035 by patrick enfedaque in ue5-main branch]
2022-11-21 17:18:51 -05:00
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
nick darnell
2ca3053047 AssetDefinition - Upgrading another slew of AssetTypeActions.
[CL 23172516 by nick darnell in ue5-main branch]
2022-11-17 00:29:40 -05:00