Commit Graph

184 Commits

Author SHA1 Message Date
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
max chen
de63270d73 Curve Editor: Save the tree view width percentage in curve settings so that the split between the tree view and the curve area is saved/restored.
#jira UE-169221
#rb mike.zyracki, matt.hoffman, andrew.rodham
#preflight 636ab134450be1d9f83df3f6
#rnx

[CL 23069795 by max chen in ue5-main branch]
2022-11-09 21:03:29 -05:00
max chen
4c4ab0161f Sequencer: Add commands to clear selection in Sequencer and Curve Editor (Esc)
#jira UE-165566
#preflight 6336345de72271755fe8a233
#rb andrew.rodham

[CL 22279896 by max chen in ue5-main branch]
2022-09-30 16:25:21 -04:00
Jurre deBaare
bc7253cd2b Follow-up to 22133564
#fix make sure that when copying float curve data into AnimDataModel, the pre/post infinity extrapolation settings are copied over correctly
#rb none
#jira none
#preflight 633179341f4e3d2a18cb2791

[CL 22179242 by Jurre deBaare in ue5-main branch]
2022-09-26 06:21:59 -04:00
matt hoffman
c91efc7f09 CurveEditor: Adjusted copy/paste logic for curves to better handle copying Control Rig controls between rigs. This now allows copying related controls between multiple rigs (ie: foot_fk_l, foot_fk_r, head_fk onto a matching set of controls on another object, but we also can support copying a single group (foot_fk_l onto foot_fk_r). Individual curves can still be copied to one or more target curves regardless of intent.
#jira UE-159670
#rb Max.Chen, Michael.Zyracki
#preflight 632b6925d51603c548ff5720

[CL 22141912 by matt hoffman in ue5-main branch]
2022-09-22 14:58:31 -04:00
max chen
eda0206b29 Curve Editor: Rename a few items from "Store Curves" to "Buffer Curves"
#jira UE-164679
#rb mike.zyracki
#preflight none

[CL 22121428 by max chen in ue5-main branch]
2022-09-21 15:52:57 -04:00
max chen
be48fe7553 Curve Editor: Evaluating snapping before evaluating to create a key. This fixes an issue where if you have snapping on, and you hold down control to add a key without changing the shape of the curve, the curve would have been evaluated at the mouse down time but then the key would be added at the snapped time.
#jira UE-164377
#rb mike.zyracki
#preflight 632b4780d51603c548f07c0b

[CL 22121386 by max chen in ue5-main branch]
2022-09-21 15:51:53 -04:00
max chen
006dcee5df Curve Editor: Curve color tweaks
- Set color for all selected curves in the tree and/or curves that have selected keyframes (ie. curve selection)
- Fix next random color - pastel green
- Broadcast when custom colors changed so that the curve models can update their colors

Note - if you delete a custom color from the preferences, it doesn't refresh the curve editor as you might expect because the color is no longer defined in the key area meta data. The only way to fix this is to recreate the curve models, but that seems like overkill for this (selection would change, framing would change, etc)

#jira UE-164162
#jira UE-164168
#jira UE-164165
#preflight 632657398c3def91aa032650
#rb mike.zyracki, matt.hoffman, ludovic.chabant

[CL 22088557 by max chen in ue5-main branch]
2022-09-20 00:45:12 -04:00
max chen
6a2b7d2ed4 Curve Editor: Autoframe on paste only when setting is enabled
#jira UE-164334
#rb mike.zyracki
#preflight 6328ac9e331ace46b5b40b93

[CL 22087373 by max chen in ue5-main branch]
2022-09-19 22:29:17 -04:00
bryan sefcik
b93a6cf7ed Pass 1 on editor include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e283bec5b0c765fc0ffdb

[CL 21960084 by bryan sefcik in ue5-main branch]
2022-09-11 18:33:06 -04:00
max chen
2eb9bfa19d Curve Editor: Auto frame after paste operation
#jira UE-162603
#preflight 631a6f89304480f8f871a22b
#rb mike.zyracki

[CL 21916025 by max chen in ue5-main branch]
2022-09-09 00:52:26 -04:00
max chen
f2d677a926 Curve Editor: Remove duplicate bound shortcut
#jira UE-163092
#rb trivial
#preflight none

[CL 21864857 by max chen in ue5-main branch]
2022-09-07 18:10:31 -04:00
bryan sefcik
925161d3e2 Another IWYU pass on Engine/Source/Editor/...
#jira

[CL 21716486 by bryan sefcik in ue5-main branch]
2022-08-30 23:04:40 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03: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
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
Max Chen
2101e20875 Curve Editor: Snap time regardless of view mode.
Snap time and value was only uccuring for Absolute view mode, but time should always be snapped regardless.

#jira UE-159804
#rb matt.hoffman, mike.zyracki
#preflight 62d6137f164251d065b8e6db

[CL 21163843 by Max Chen in ue5-main branch]
2022-07-19 12:34:57 -04:00
max chen
ecf5e83c2d Curve Editor: When shift and marquee select, make sure only points are selected if points are selected. Or, make sure tangents are selected if only tangents are selected.
#jira UE-159453
#preflight 62d081b6562520a394d760ed
#rb matt.hoffman

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 21101020 via CL 21101027 via CL 21101031
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21106402 by max chen in ue5-main branch]
2022-07-15 03:45:16 -04:00
bryan sefcik
a2daed96fa Fixed -NoPCH -DisableUnity compile issues.
#preflight 62d091823c3df32390fccda4

[CL 21100606 by bryan sefcik in ue5-main branch]
2022-07-14 18:22:32 -04:00
max chen
8f9ad7a18d Curve Editor: Fix crash when manipulating tangents
LastDraggedAttributes might not be set if nothing has been dragged.

Seems to be fallout from UE-150118 CL#19971467 but I haven't been able to reproduce it.

#rb mike.zyracki, jurre.debaare
#preflight 62d05daadc4397d3840fc318

#ROBOMERGE-OWNER: david.hibbitts
#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 21096464 via CL 21096630 via CL 21096769
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21099995 by max chen in ue5-main branch]
2022-07-14 17:38:11 -04:00
bryan sefcik
6b25671172 Fixed -NoPCH -DisableUnity compile issues.
#preflight 62d05ea58e4b379590a66dab

[CL 21095519 by bryan sefcik in ue5-main branch]
2022-07-14 14:54:07 -04:00
Mike Zyracki
b8ad11cef0 Sequencer: Constraints: Add support for constraints embedded in transform sections. Added ECS system for the constraints to be evaluated(thanks AndrewR), support Smart constraint key so we compensate when keying constraints. Still a bit more todo, may move some things around, need to make sure delete delgate is handled correctly with right world, etc..
#jira na
#preflight 62cf27c3c36afd11efbdc5d2
#rb andrew.rodham, benoit.gadreau
#fyi helge.mathee

[CL 21082136 by Mike Zyracki in ue5-main branch]
2022-07-13 17:48:50 -04:00
Max Chen
d6e3d1cc8c Curve Editor: Hook up bindings for ZoomToFitAll, ZoomToFitHorizontal, ZoomToFitVertical
#jira UE-158284
#preflight 62bf75608d5e678759341a03
#rb andrew.rodham

[CL 20944706 by Max Chen in ue5-main branch]
2022-07-05 13:01:42 -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
Max Chen
22d73eff41 Curve Editor: On PostUndo(), clear the selection serial number so that the edit box can refresh and then reset the selection serial number so that time doesn't sync to selection since selection didn't really change
#jira UE-156557
#rb matt.hoffman
#preflight 62ab5adfe9031caf98aeb3e2
#robomerge enginemerge

[CL 20689244 by Max Chen in ue5-main branch]
2022-06-16 12:48:35 -04:00