Commit Graph

1009 Commits

Author SHA1 Message Date
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
zach rammell
71cdb05273 Fix non unity build
#jira UE-153304
#rb trivial
#preflight 6287ced31e478b95c72a19e5

[CL 20303790 by zach rammell in ue5-main branch]
2022-05-20 17:41:40 -04:00
tyson brochu
4d90e637b3 Add Level Sets to AggregateGeometry
#rb Kriss.Gossart Brice.Criswell
#preflight 6287cb4218407ba3749943f4
#preflight 6287f3e62c34da686af64213

[CL 20302167 by tyson brochu in ue5-main branch]
2022-05-20 16:21:36 -04:00
zach rammell
99738c0f68 Refactor persona editor modes/mode manager to use ITF context objects for persona-only interfaces instead of static casting
#rb brooke.hubert Thomas.Sarkanen
#jira UE-143249
#preflight 628549709e72602f6ab62b3b

[CL 20282438 by zach rammell in ue5-main branch]
2022-05-19 12:34:51 -04:00
Thomas Sarkanen
2a8525b297 Improved anim BP re-instancing
This performs a more targeted re-initialization of animation systems, rather than just tearing down and re-creating the skeletal mesh component.
New behavior is opt-out on CVar in case there are any corner cases where we were relying on the old behavior

Also fixes external instances getting disconnected on anim BP recompilation

#jira UE-80370 - Sub Anim Blueprints: Animation Layers reset when recompile a Sub Animation Blueprint
#jira UE-96266 - Current animation asset is lost in animation preview when a post process anim BP is compiled
#rb Jurre.deBaare
#preflight 6286244fbf7dfd7f058c0180

[CL 20278272 by Thomas Sarkanen in ue5-main branch]
2022-05-19 07:22:56 -04:00
thomas sarkanen
b21e95699a Added track filtering to anim timeline
Also edigrated CL 19957678 to fix small timelines not allowing scroll/scrub interactions

#rb Jurre.deBaare
#preflight 627cc70380307e522bc533a9

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 20162453 via CL 20162470 via CL 20162479 via CL 20162490
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20162924 by thomas sarkanen in ue5-main branch]
2022-05-12 06:53:54 -04:00
Jurre deBaare
7db755f123 Removed OnStopEditingCurves delegate and behaviour from Persona module, this is now superseded with AnimDataModel notify callbacks instead
#misc fixed use after release crash
#jira none
#rb Thomas.Sarkanen
#preflight 627b8dc9b60dee4a43a33c0f

[CL 20136161 by Jurre deBaare in ue5-main branch]
2022-05-11 07:05:49 -04:00
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
jack cai
aab5af5af5 AnimAttributeView: minor fix, hitting an avoidable ensure
#jira none
#rb trivial
#preflight skip

[CL 20068082 by jack cai in ue5-main branch]
2022-05-05 21:44:17 -04:00
jack cai
63c4fa8571 ControlRig: Added Animation Attribute Support
#jira UE-150817
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/6273ea368d32cd80d8a62fb9

[CL 20061632 by jack cai in ue5-main branch]
2022-05-05 14:20:44 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
jurre debaare
9a6fecf342 Animation Curve Editor is Very Slow In Engine
#fix ensure that interactive changes in the curve editor for Animation does not trigger recompression or caching of FRichCurve
#misc fix up curve editor drag/spinbox operations to actually use the property change flag(s)
#misc AnimSequence now evaluates float curves directly from model (which allows previewing interactive changes)
#jira UE-150118
#rb Thomas.Sarkanen
#preflight 626a6702464ae4f520e4aa13

#ROBOMERGE-AUTHOR: jurre.debaare
#ROBOMERGE-SOURCE: CL 19957750 in //UE5/Release-5.0/... via CL 19958488
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971467 by jurre debaare in ue5-main branch]
2022-04-28 18:47:49 -04:00
thomas sarkanen
a6b65251ba Fix slowdown in animation sequences with lots of curve tracks
Switched to a SScrollBorder instead of SScrollBox so that widget size is correctly calculated and we dont end up trying to create widgets for all tracks

#jira UE-150374 - Editing animations with large numbers of curves has poor framerate
#preflight 626a6f544f4402db8ccd9151
#rb Jurre.deBaare

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 19957678 in //UE5/Release-5.0/... via CL 19958480
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971461 by thomas sarkanen in ue5-main branch]
2022-04-28 18:47:41 -04:00
thomas sarkanen
3f8fa9692b Converted a number of animation editor menus & toolbars to use tool menus
Also applied asset permissions to various UI sections

#rb Jurre.deBaare,Sara.Schvartzman
#preflight 6267d7dd272f4a558dbcdb6a

#ROBOMERGE-OWNER: thomas.sarkanen
#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 19918869 via CL 19921093 via CL 19923159 via CL 19923181
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19926251 by thomas sarkanen in ue5-main branch]
2022-04-26 15:03:55 -04:00
Alexis Matte
0a5bc2e83d - Alternate skinning now use interchange (if interchange is enabled)
- Custom LOD import now use interchange (if interchange is enabled)
- Add an InterchangeManager API function to retrieve per asset type extensions format
- Add an interchange mesh utilities to create a common place to add mesh import code.
- Add an interchange file picker interface which can be implemented by plugin
- Add an editor plugin that implement the file picker, The file picker can be customize to import specific asset type.

#jira UETOOL-5050
#jira UETOOL-5049
#rb jeanmichel.dignard
#preflight 626819fa430b9997ebe3bece
#rnx

[CL 19923170 by Alexis Matte in ue5-main branch]
2022-04-26 12:53:38 -04:00
lucas dower
6fbf525fde Added radio button for Buffer Visualization view mode in Control Rig and Persona Viewports
#jira UE-142741
#rb jurre.debaare
#preflight 6256e074667d45166409c2c6

[CL 19752963 by lucas dower in ue5-main branch]
2022-04-14 06:21:27 -04:00
thomas sarkanen
e832a0d616 Correctly tag custom rows in anim sequence and skeletal mesh details customizations
#rb Jurre.deBaare
#preflight 6246d295323cb7b9911fe6cb

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 19586446 via CL 19586824 via CL 19586833 via CL 19586842
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19587520 by thomas sarkanen in ue5-main branch]
2022-04-01 09:41:25 -04:00
john vanderburg
bd18dc7da2 [MLDeformer] A complete redesign, turning this into a whole framework that can handle different models.
#preflight 18324456

[CL 19587235 by john vanderburg in ue5-main branch]
2022-04-01 09:28:27 -04:00
bob tellez
c19caae693 #UE Fix uninitialized properties
[FYI] nick.brett

#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 19470726 via CL 19471002 via CL 19488200 via CL 19488365
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19489500 by bob tellez in ue5-main branch]
2022-03-23 20:02:57 -04:00
bob tellez
59bb92ed38 #UE Do not load materials in FPhysicsAssetRenderSettings constructor, which is called during boot to look for uninitialized properties. Load instead in UPhysicsAssetRenderUtilities's initialize function, and do not make a MID as it is not needed.
#rb nick.brett
[FYI] nick.brett

#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 19469798 via CL 19470052 via CL 19485994 via CL 19486136
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19487539 by bob tellez in ue5-main branch]
2022-03-23 18:25:50 -04:00
Matt Peters
c1b46b1fed FAssetData: Callsites need to handle AssetData.GetClass() returning null. Added IsInstanceOf(UClass*) for the common operation GetClass() && GetClass->IsChildOf(BaseClass).
#jira UE-146521
#rb Zousar.Shaker
#rnx
#preflight 623874b789625f06129e466b

[CL 19450936 by Matt Peters in ue5-main branch]
2022-03-21 09:00:36 -04:00
kiaran ritchie
2ac904be3d Adding compatible skeletons to Retarget Sources
#JIRA https://jira.it.epicgames.com/browse/UE-145950
#rb halfdan.ingvarsson
#preflight 6234aca13f685c2b421fcce6

[CL 19441181 by kiaran ritchie in ue5-main branch]
2022-03-18 16:55:51 -04:00
halfdan ingvarsson
845f309edc Added a conenience RMB menu item to copy curve names from the timeline editor to the clipboard.
#ROBOMERGE-AUTHOR: halfdan.ingvarsson
#ROBOMERGE-SOURCE: CL 19382859 via CL 19385484 via CL 19395713 via CL 19396049
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402960 by halfdan ingvarsson in ue5-main branch]
2022-03-16 03:24:03 -04:00