Commit Graph

590 Commits

Author SHA1 Message Date
philippe deseve
8218e80ef1 UDataLayer deprecated in favor of UDataLayerInstance & UDataLayerAsset
UDeprecatedDataLayerInstance allows to boot level using deprecated UDataLayers
Worlds using DataLayer can run the DataLayerToAssetCommandlet to transition their existing DataLayers
FActorDataLayer interface is deprecated.
DataLayers Blueprint referencers should now use DataLayerAsset to retrieve DataLayerInstances.
DataLayer Code referencers should now use DataLayerAssets or DataLayerInstance FName to retrieve DataLayerInstances.
DataLayerLabels now only used for display/UI purpose
Relabeling DataLayers is not permitted anymore on new DataLayerInstances (allowed on UDeprecatedDataLayerInstance)
Added Changelist Validation for DataLayers
Added a column to the datalayer outliner showing any data layer errors.

#rb richard.mal jeanfrancois.dube
#preflight 623098c2050dc69468b6a297 (errors only related to lyra, which do not exist in this stream)

#ROBOMERGE-OWNER: philippe.deseve
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19385808 via CL 19387392
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19389077 by philippe deseve in ue5-main branch]
2022-03-15 13:52:28 -04:00
charles bloom
07d079e290 fix multiple asset importers registered at same priority creates random inconsistency
ImgMedia and normal texture import both registered for EXR
would randomly import one or the other on different runs of Editor
adjust priorities so they are not ambiguous
also add detection and logging to prevent this

#rb Julien.StJean
#preflight 622f441c6131e07703a04ed5

[CL 19373316 by charles bloom in ue5-main branch]
2022-03-14 11:34:50 -04:00
michael noland
674afabc53 Editor: Added a fixup redirectors option that *doesn't* delete the redirectors afterwards, which can be useful for cleaning up a project while others are still actively working and might have created new references to the renamed object
#jira UE-143408
#rb lauren.barnes
#lockdown julien.marchand
#preflight 62215f872c722ee170e2ac96

#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 19258824 in //UE5/Release-5.0/... via CL 19259128
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263827 by michael noland in ue5-main branch]
2022-03-04 04:10:21 -05:00
patrick enfedaque
7599f90f04 Fixup Redirectors: Fix GCed Empty Packages crash (fix one other use case in FAssetRenameManager that I previously missed)
#jira UE-142999
#rb richard.malo
#preflight 621631920f71e491ccf76408
#lockdown aurel.cordonnier
#rnx


#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 19093419 via CL 19093997 via CL 19094653 via CL 19096144 via CL 19105377
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19146681 by patrick enfedaque in ue5-main branch]
2022-02-25 09:44:15 -05:00
Alexis Matte
9775bb4fbd Add Interchange support for Import geo/skinning only workflow
#UETOOL-4729
#rb richard.talbotwatkin
#rnx
#preflight 62178d841a114ad504392e3f

[CL 19112941 by Alexis Matte in ue5-main branch]
2022-02-24 09:10:50 -05:00
geoff evans
bd2a5c3af2 Detect broken Blueprint assets and abort Migration if they are included.
The condition here mimics the condition we use when we advise caution about opening the Blueprint Editor on the same assets.

Use Force Delete to null out references and unload assets so we can delete the package files that Migrate generated.

#rnx
#rb steve.robb
#jira UE-142833
#preflight 62100735eb1ea1b2cce404d1

[CL 19103703 by geoff evans in ue5-main branch]
2022-02-23 17:53:45 -05:00
geoff evans
1f87d3a2fd Second pass on SlowTask dialogs for Migrate.
Move LoadAssets to after the UI prompts for the UX benefit.

#rnx
#rb trivial
#preflight 620e84137d6fd1dfc4525eae
#jira UE-142832

[CL 19036708 by geoff evans in ue5-main branch]
2022-02-17 12:31:56 -05:00
geoff evans
f2a3a563a1 Treat Engine content more intelligently when Migrating/Consolidating assets.
### AssetTools
Check each package's mount point and fold that against each Plugin's LoadedFrom (Project or Engine)
If Engine content is visible in the Content Browser, show but do not schedule Engine Plugin content for Migration
Add support for sending in "ShouldMigratePackage" state to SPackageReportDialog

### SPackageReportDialog
Remove "Active" state -> this dialog used to associate Disabled tree item state with the state of not Migrating a package. Just rely on the check state to dictate if a package will be Migrated
Add support for indeterminate checkbox state for folders within the dialog when some, but not all, children being selected for migration
Add logic for initial check/indeterminate/unchecked state and when check state changes on an item
Propagate check state up the hierarchy from the check change event item

#rnx
#rb rex.hill
#jira UE-142543
#preflight 620d6a3926435e00d2de7d3f

[CL 19023118 by geoff evans in ue5-main branch]
2022-02-16 16:36:47 -05:00
geoff evans
9dce602b34 Add SlowTask dialogs, Fix cleaning up temp assets
#rnx
#rb trivial
#preflight 620c232a565043444cacf7a4
#jira UE-142832, UE-142833

[CL 19005530 by geoff evans in ue5-main branch]
2022-02-15 17:37:11 -05:00
geoff evans
3026b21079 Migrate: Fix flattening of assets into the target folder during consolidate
DuplicateObjects takes the destination path very literally, flattening objects to a single folder. Instead, loop over all the objects, calculate the correct relative path, and duplicate the objects one-by-one.

#rnx
#rb rex.hill
#preflight 620be74c475fb819ddc7c756
#jira UE-142545

[CL 18999816 by geoff evans in ue5-main branch]
2022-02-15 13:50:24 -05:00
kiaran ritchie
b75fa77bb5 Fixes issue replacing skeleton on AnimBP that is missing skeleton asset.
#JIRA https://jira.it.epicgames.com/browse/UE-141917
#preflight 6207067aab22f3d80a56c666
#rb halfdan.ingvarsson

#ROBOMERGE-AUTHOR: kiaran.ritchie
#ROBOMERGE-SOURCE: CL 18968991 in //UE5/Release-5.0/... via CL 18969265 via CL 18969586
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18969610 by kiaran ritchie in ue5-main branch]
2022-02-11 20:50:24 -05:00
Alexis Matte
5a6a855dcd Scene node will now only serialize the local transform, all SetGlobalTransform functions has been removed.
Fix scene import when there is no specified factory
The scene node specialtype attribute can now be a "Transform" type. This allow the generic scene pipeline to found group transform node.

#jira none
#rb jeanmichel.dignard, richard.talbotwatkin
#rnx
#preflight 62066e4054003c49ad37c388

[CL 18951547 by Alexis Matte in ue5-main branch]
2022-02-11 09:16:05 -05:00
JeanMichel Dignard
0a111a1b4e Interchange
- Interchange now adds its supported extensions to the import and import into level file pickers.
- Added a GetSupportedFormats on the Interchange Translators.
- UInterchangeTranslatorBase::CanImportSource now defaults to checking the file extension and matching it against the supported formats.
- Added a translator type on the translators to indicate what type of data they can translate (assets or actors for now). This is used by the file pickers to indicate which extensions they want to gather.
#preflight 6203eaca174d2620c3c11d9b

[CL 18919107 by JeanMichel Dignard in ue5-main branch]
2022-02-09 11:43:32 -05:00
dave belanger
f49a9666a2 Hide some more C++ creation/editing menus when !GUnrealEd->GetUnrealEdOptions()->IsCPPAllowed() (follow up on 18815523)
#rb Rex.Hill
#preflight 61fbfcdee058822bda9ab04b

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 18863343 via CL 18863389 via CL 18863403 via CL 18863429 via CL 18863995 via CL 18864392
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18864406 by dave belanger in ue5-main branch]
2022-02-04 11:19:37 -05:00
thomas sarkanen
01c02d74ee Fixed crash opening a child anim blueprint of a template anim blueprint
Ensure that template flag is propagated in the regular factory use case

#jira UE-140017 Editor crashes when opening Child Blueprint Class
#rb Jurre.deBaare
#lockdown laurent.delayen
#preflight 61fd24f40a43b689e172ddb2

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18863199 in //UE5/Release-5.0/... via CL 18863205 via CL 18863370
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18863374 by thomas sarkanen in ue5-main branch]
2022-02-04 10:21:33 -05:00
geoff evans
1358c3138b Support for migrating selected assets and their dependencies that are inter-referential across content roots.
Assets spread across content roots are migrated into the corresponding content root in the destination, if it exists. If any don't exist, migrate the selection and dependencies to temporary packages into a folder that is migrated to the destination.

== Notes ==

AssetTools.h/cpp
* Remove OriginalRoot filtering down reference gathering to objects in the selected object package's content root (opens up the routine to migrating plugin content)
* Trawl the set of objects to migrate and compare their content root against the available content roots in the destination project's plugin directory hierarchy
* If some plugins are missing from the destination, prompt the user to consolidate everything into a temporary folder
* If the user selects to consolidate we duplicate objects and fixup references to those duplicates, and save those packages to a folder named by the user
* If necessary copy those temporary packages to the destination content root
* Tidy up any temporary packages saved into the source project

[FYI] michael.noland
#rb francis.hurteau
#jira UE-115684
#preflight 61f4720f6b5aea38e5c653e5

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 18779963 in //UE5/Release-5.0/... via CL 18780829 via CL 18781338
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18781642 by geoff evans in ue5-main branch]
2022-01-28 19:47:50 -05:00
patrick enfedaque
e53cc4aa19 ContentBrowser: Better support for Delete/Copy/Rename operations on World Partition worlds
- FScopedLoadAllExternalObjects object that can be used to force the loading of all external actors of a WP world to allow those operations to succeed. (for larger worlds commandlet should be used)
- ContentBrowser operation like: Delete, Duplicate, Rename, Move, Copy use this new scope
- World Partition worlds are no longer loaded on right-click context menu.
- Note: change was done with explicit scopes to only address specific use cases and limit the impact of this CL. It could become a default behavior in later versions.

#jira UE-140032, UE-114002

#rb richard.malo, jeanfrancois.dube, rex.hill
#preflight 61f2b479800734b52da816b4

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18753910 in //UE5/Release-5.0/... via CL 18753926 via CL 18756993
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18757308 by patrick enfedaque in ue5-main branch]
2022-01-27 14:11:04 -05:00
patrick laflamme
2268774ab0 Exposed IAssetsTools::DiffAgainstDepot() and IAssetTools::DiffAssets() functions to Python
#rb Jamie.Dale
#preflight 61f010acbe0f0e0a6203836c

#ROBOMERGE-AUTHOR: patrick.laflamme
#ROBOMERGE-SOURCE: CL 18725285 via CL 18725289 via CL 18725294 via CL 18725693 via CL 18725965
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18726009 by patrick laflamme in ue5-main branch]
2022-01-25 13:56:08 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -05:00
vincent gauthier
8b51660453 Localization: Resolving conflicting Ids in LOC macros
#jira UE-136397
#rb none
#preflight 61eebe505e0414e6ec1e5a19

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 18708506 in //UE5/Release-5.0/... via CL 18708530 via CL 18708683
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18708694 by vincent gauthier in ue5-main branch]
2022-01-24 10:13:12 -05:00
rex hill
36ca9082eb Allow blocking rename and duplicate UI per asset
#rb patrick.enfedaque
#preflight 61eae71cea0da8133dcf24d4

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 18691368 in //UE5/Release-5.0/... via CL 18691395 via CL 18691432
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18691442 by rex hill in ue5-main branch]
2022-01-21 12:33:34 -05:00
thomas sarkanen
145f40d998 Fixed cooked anim BP assets not animating when placed
Also fixed up cooked anim BPs to display their specific class type.
Also re-instated fix for placing cooked anim BPs in the viewport. Added in CL 18465876, accidentally removed in CL 18589986.

#jira UE-115948 - Cooked Animation Blueprint can't be placed into the Level Viewport.
#jira UE-139349 - Cooked content in editor - Animation blueprint has incorrect initial pose after cooking
#rb Jurre.deBaare
#preflight 61e59bab87389804e5655061

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18633747 in //UE5/Release-5.0/... via CL 18633755 via CL 18633767
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18637387 by thomas sarkanen in ue5-main branch]
2022-01-18 04:32:10 -05:00
lucas dower
a3d9e5d03e Persona shortcut icon and colour update
#rb Thomas.Sarkanen
#jira UE-131904
#preflight 61e58267873f2ea48f2fba10

#ROBOMERGE-AUTHOR: lucas.dower
#ROBOMERGE-SOURCE: CL 18633005 in //UE5/Release-5.0/... via CL 18633047 via CL 18633057
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18637367 by lucas dower in ue5-main branch]
2022-01-18 04:29:55 -05:00
zach rammell
7dc312effd [AssetTools] Replace/remove uses of whitelist/blacklist
#jira UE-131115
#rb patrick.laflamme
#preflight 61e1c4d081234b3e06031798

[CL 18621523 by zach rammell in ue5-main branch]
2022-01-14 14:22:47 -05:00
kiaran ritchie
4d8cfcaf85 Attempt #2 with fix to not break projects using EditorAnimUtils::RetargetAnimation()
- Replacing retarget manager with "Retarget Sources"
- Remove right-click retarget features from ABPs, anims and skeletons
- Deprecating URig asset

#rb:halfdan.ingvarsson
#JIRA:UE-137192
[FYI] benoit.gadreau
#preflight:https://horde.devtools.epicgames.com/job/61de1627f33c0754173a0887

#ROBOMERGE-AUTHOR: kiaran.ritchie
#ROBOMERGE-SOURCE: CL 18609946 in //UE5/Release-5.0/... via CL 18609978 via CL 18610008
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18610041 by kiaran ritchie in ue5-main branch]
2022-01-13 18:49:53 -05:00