Commit Graph

144 Commits

Author SHA1 Message Date
jurre debaare
2eaf201f6a Generalized SkeletalMeshEditorToolbox to be used throughout Persona-based editors
#rb Halfdan.Ingvarsson

[CL 27874300 by jurre debaare in ue5-main branch]
2023-09-14 07:08:25 -04:00
kiaran ritchie
4a9a445fd6 Enable bone rotation/translation while painting weights.
#rb halfdan.ingvarsson

[CL 27281321 by kiaran ritchie in ue5-main branch]
2023-08-22 14:51:34 -04:00
Thomas Sarkanen
44949a96a0 Sync markers can now be managed in the same way as notifies
Sync markers are now visible in the notifies tab
Added sync marker functionality to find/replace tab
Refactored find/replace tab to allow it to be extended via implementing new UAnimAssetFindReplaceProcessor classes
Fixed a few workflow edge cases
Optimized string handling while searching/replacing

#preflight 644a69110f12404fb793bc44
#jira UE-69308
#rb Jurre.deBaare,Roland.Munguia

[CL 25230083 by Thomas Sarkanen in ue5-main branch]
2023-04-28 06:05:42 -04:00
jaime cifuentes
4b6bd3a72d Added 0.75 and custom speed to Animation Viewport ToolBar, for Animation Speed and TurnTable speed
#rb Thomas.Sarkanen
#jira UE-168709
#preflight 6443d21c0206a6e20fc7ad36

[CL 25161711 by jaime cifuentes in ue5-main branch]
2023-04-24 06:19:04 -04:00
Thomas Sarkanen
cade535b0a Fixed crash opening a template animation blueprint with curves tab open
#jira none
#rb Jurre.deBaare
#preflight 6421aae47703a8de3d9a0890

[CL 24803198 by Thomas Sarkanen in ue5-main branch]
2023-03-27 11:11:05 -04:00
jurre debaare
adf000b658 CIS Editor Error: SkeletonSelectionEditMode.h(45): error C4430: missing type specifier - int assumed
#rb none
#preflight 640f2cb9c41a0a2a77adc283

[CL 24613658 by jurre debaare in ue5-main branch]
2023-03-13 11:44:12 -04:00
joseph sozio
69c0a8222f [Backout] - CL24610412
[FYI] Jurre.deBaare
Original CL Desc
-----------------------------------------------------------------
Improved Skeleton reference pose drawing behaviour
- Allow for drawing sub-set of bones (through selection)
- Bone/socket details now pull correct data from reference skeleton
#preflight 6409dd42a450329d6c2d59b1
#rb Thomas.Sarkanen, Kiaran.Ritchie

[CL 24612076 by joseph sozio in ue5-main branch]
2023-03-13 09:59:51 -04:00
jurre debaare
cb45e0202d Improved Skeleton reference pose drawing behaviour
- Allow for drawing sub-set of bones (through selection)
- Bone/socket details now pull correct data from reference skeleton
#preflight 6409dd42a450329d6c2d59b1
#rb Thomas.Sarkanen, Kiaran.Ritchie

[CL 24610735 by jurre debaare in ue5-main branch]
2023-03-13 07:31:42 -04:00
christopher waters
b59bafd5d3 Minor dependency cleanup inside ControlRigEditor.
Adding IPersonaPreviewScene::UnregisterForUndo so that ControlRigEditor can opt it out of undos.

#preflight 63ff715b437ce3e7f3057a1f

[CL 24469454 by christopher waters in ue5-main branch]
2023-03-01 15:41:15 -05:00
christopher waters
802ed11060 Moving AnimationEditorViewportClient.h to Public for access from other modules.
[CL 24465056 by christopher waters in ue5-main branch]
2023-03-01 12:34:51 -05:00
Thomas Sarkanen
92aeb45280 Fix non-PCH build error
#rb none
#jira none
#preflight 63fce0a8ef1b24bf94a22b34

[CL 24425989 by Thomas Sarkanen in ue5-main branch]
2023-02-27 12:15:15 -05:00
Thomas Sarkanen
502797ca50 Animation Curve Runtime & Editor Improvements
Runtime notes:
- Removes 'smart name' usage across the animation systems.
- Changed curve blending from a uniform array (sized per skeleton) to a sparse array of sorted named values. Blends and other combiners are performed using a dual iteration 'tape merge'.
- Skeleton curves are no longer guaranteed to cover all curve names that can be found at runtime.

Editor notes:
- Curve metadata (flags, bone links etc.) is still present on the skeleton, but can also now exist on a skeletal mesh
- Curve metadata (for morph targets) is still populated on import
- Curves can now be used arbitrarily at runtime

New features:
- New Find/Replace dialog that allows for batch-replacing curves and notifies across all of a project's assets
- New curve debugger tab in various Persona editors that allows for viewing curve values live. This also now allows viewing curves for specific pose watches.
- Pose watches now output curve tracks to the Rewind Debugger

#rb Jurre.deBaare,Nicholas.Frechette,Sara.Schvartzman,Helge.Mathee,Kiaran.Ritchie,Jaime.Cifuentes,Martin.Wilson,Keith.Yerex,Andrean.Franc (and more!)
#jira UE-167776
#jira UE-173716
#jira UE-110407
#preflight 63fc98c81206d91a2bc3ab90
#preflight 63f3ad4f81646f1f24c240c2

[CL 24421496 by Thomas Sarkanen in ue5-main branch]
2023-02-27 07:20:58 -05:00
danny chapman
41e3a0ccb1 Fix some casting warnings
#rb trivial
#preflight 63f63a03ff5afbbb03ac8b4f

[CL 24362335 by danny chapman in ue5-main branch]
2023-02-22 11:03:26 -05:00
halfdan ingvarsson
986755258e Persona: Remove magic code from preview customization and allow the various editors to explicitly disable skeleton match for preview meshes.
#jira UE-175139
#rb kiaran.ritchie
#preflight 63d201e6450d5cdd0b2134c0
#rnx

[CL 23864280 by halfdan ingvarsson in ue5-main branch]
2023-01-25 23:51:30 -05:00
danny chapman
957c251345 Fixes for double/float conversion warnings
#jira UE-173963
rb timothy.daoust
#preflight 63d019c3976daa618cb95cd0

[CL 23833831 by danny chapman in ue5-main branch]
2023-01-24 12:59:42 -05:00
jack cai
b418b58f50 AnimationAttributetab: added a missing scrollbar
#jira: none
#rb trivial
#preflight skip

[CL 23639273 by jack cai in ue5-main branch]
2023-01-10 22:36:46 -05:00
Thomas Sarkanen
d9c2b172f7 Skeleton compatibility improvements
Skeleton compatibility is now bi-directional. Specifying a compatible skeleton A -> B now implies B -> A.
Skeleton compatibility is now an editor-only concern. The runtime will attempt to do the 'best it can' via name -> name mappings. Only the editor will prevent assigning incompatible skeletons in (e.g.) asset pickers etc.
Skeleton compatibility checks in editor can now be disabled in the editor preferences (and each asset picker now has a checkbox option in its view settings that allows for quick access to this).

Moves FSkeletonRemapping to its own file (which is now private).
Skeleton remappings are now generated on demand on worker threads just before animation decompression and stored in a registry, guarded by FRWScopeLock for thread-safety.

Fixed some anim BP compiler edge cases where asset references on pins were not getting preloaded correctly, causing skeletons to be erroneously reported as missing.

Exposed the current asset registry filter in SAssetView so that menu extensions can access it (and use it to provide context)

#jira UE-166054
#jira UE-167355
#rb Jurre.deBaare,John.vanderBerg
#preflight 635902602e6690262afa86f9

[CL 22878911 by Thomas Sarkanen in ue5-main branch]
2022-11-01 06:25:59 -04:00
Jurre deBaare
67babaec16 ANIM-RT truncation fixes - Persona
#jira UE-166635
#rb Jaime.Cifuentes, Thomas.Sarkanen
#preflight 63513298047f3570addbcffe

[CL 22653074 by Jurre deBaare in ue5-main branch]
2022-10-20 07:59:06 -04:00
eric knapik
ebeb6781c1 Animation BP toolbar trimming & permissions
* Tab filters are now applied before tab widgets before are created for animation blueprint editor instead of only when a user tries opening a new tab. This prevents disallowed tabs in default layouts being created.
* Event graph documents are not opened if event graph permissions are disabled when loading blueprint editor.
* Added new blueprint permission to optionally disable function overrides.

#rb thomas.sarkanen
#preflight 6346928ef04e6f8505f7b879

[CL 22547860 by eric knapik in ue5-main branch]
2022-10-15 02:13:23 -04:00
kiaran ritchie
9ece7682e8 Adding "Preview Scene Settings" tabs to IK Rig & Retarget editors.
This change also added a delegate to FPersonaToolkitArgs with reference to a IDetailBuilderLayout so assets can customize the Preview Scene Settings.

#JIRA https://jira.it.epicgames.com/browse/UE-148894
#rb halfdan.ingvarsson
#preflight
#preflight 631b7a00967ffc68fb262e06

[CL 21924418 by kiaran ritchie in ue5-main branch]
2022-09-09 13:58:03 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
nick brett
be3323e0db [UE][FEATURE] PhAT Constraint Transform Editing
- Enable users to view and edit the parent and child frame transforms of constraints in the PhAT details panel
- Constraint transforms are represented as a position and a rotator in the details panel (internally they are represented as a position and a pair of orthonormal vectors)
- Constraint transforms can optionally be displayed in the frame of the assocaited bone OR relative to the default (snapped) transforms
- Allow parent / child transform position / orientation componenets to be 'snapped' to defaults individually
- Support using modifier keys to manipulate only the child frame transform via a viewport widget

#jira UE-119744
#jira UE-119741
#rb [at]Thomas.Sarkanen, [at]sebastian.nordgren
#preflight 62f13b9a23003b62a3d4c277

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21282618 via CL 21282632 via CL 21282638
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21283069 by nick brett in ue5-main branch]
2022-08-09 07:30:26 -04:00
nick brett
c675819ca1 [UE][FEATURE] Extend Pose Watches to support control of other aspects of animation node debug draw.
- Pose watches can now contain elements which represent different asspects of an anim nodes debug draw (i.e. bodies and constraints in RBAN)
- Elements can be used to enable anim node debug draw even when a node is not selected, acting in the same way as the previous pose watches
- The previous Pose watch behavior is now provided by an element within a pose watch
- RBAN nodes now make use of Pose Watch Elements
- Moved skeleton draw parameter UPROPERTIES from PoseWatch to specialised PoseWatchPoseElement class

#rb [at]Thomas.Sarkanen, [at]Lucas.Dower
#preflight 62d6a3e43c3df323901fca27

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21174786 via CL 21175779 via CL 21181135
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192394 by nick brett in ue5-main branch]
2022-07-20 18:29:30 -04:00
bryan sefcik
98b51354ed Ran IWYU on Public headers under Engine/Source/Editor/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065253 by bryan.sefcik
#jira
#preflight 62d5b3e91062f2e63014598e

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21152630 via CL 21156388 via CL 21157044
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181817 by bryan sefcik in ue5-main branch]
2022-07-20 11:56:29 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00