Commit Graph

34 Commits

Author SHA1 Message Date
mike zyracki
2f3c5cfe35 Sequencer: Add time scrubbing(b) to sequencer and curve editor to match viewport behavior. Had to add playback status to the time controller, add key up/down events to sequencer input handlers, and for both created new drag operations.
#rb max.chen
#preflight 644c5b21864f15ebf51579c7
#jira UE-151242

[CL 25327689 by mike zyracki in ue5-main branch]
2023-05-03 18:06:02 -04:00
Mike Zyracki
9200bcf437 Sequencer: Curve Editor: Due to delayed drag the initial position of the marquee drag is wrong so we store that and end before the end drag happens, also fix to hit test tangent lines when marquee dragging
#jira UE-171810
#jira UE-173039
#preflight 63c9dfa5e3138815652d27a8
#rb max.chen

[CL 23795046 by Mike Zyracki in ue5-main branch]
2023-01-20 14:31:39 -05:00
steve robb
2a4d30b52b Fixes for TOptional forward includes.
#rb trivial
#preflight 63bcb733d862fdd3479bfbab

[CL 23631938 by steve robb in ue5-main branch]
2023-01-10 15:27:16 -05:00
Andrew Rodham
4ff7bab147 Slate: Initial phase of FVector2D deprecation
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
  - Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
  - Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
  - Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
  - Exposed FVector2f members to blueprints

#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f

[CL 23631073 by Andrew Rodham in ue5-main branch]
2023-01-10 14:46:43 -05:00
Mike Zyracki
cbdcbaf161 Sequencer: Curve Editor: Fix Shift Drag mechanics so it locks immediately and reliably by using the last position instead of current position when it starts. Didn't add the last position to the ICurveDragOperation base class since most of them don't use it, only for those that snap.
#jira UE-171534
#preflight 639b9ce1012902cb8d86df82
#rb matt.hoffman

[CL 23622996 by Mike Zyracki in ue5-main branch]
2023-01-09 20:02:14 -05:00
max chen
89ec99b760 Curve Editor: Fix crash when removing keys on mouse up - ensure that the key handles are unique. Also, make sure last dragged keys are up to date on OnEndDrag.
#jira UE-171677
#rb mike.zyracki
#lockdown laurent.delayen
#preflight 638990db976b1644cb3a0c6f

[CL 23379448 by max chen in ue5-main branch]
2022-12-02 16:55:54 -05: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
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
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
Patrick Boutot
eb15d9e8ee Slate: Convert SlateRect, Margin and SlateRotatedRect from double to float. Without the deprecation path, it creates a lot of errors. I will deprecate slowly the functionnality that use FVector2D once I convert the other basic structures.
#jira UE-137340
#rb editor-ui-systems
#preflight 62a7567d504e8c54a76dc9cd

[CL 20631832 by Patrick Boutot in ue5-main branch]
2022-06-13 14:48:44 -04:00
Max Chen
6aba95f901 Curve Editor: Remove any overlapping keys on mouse up (value set).
Gather up all the final drag times of the keys. For each time, get all the keys that match that time and keep the key that moved the most.

#jira UE-156008
#rb matt.hoffman, mike.zyracki
#preflight 629f9d3485333f266455db03

[CL 20558041 by Max Chen in ue5-main branch]
2022-06-08 12:13:46 -04:00
Max Chen
f35ca0f77c Curve Editor: Remove any overlapping keys on mouse up (value set)
#jira UE-153577
#rb mike.zyracki, matt.hoffman
#preflight 629ae12bbb7960f0c18cc539

[CL 20527074 by Max Chen in ue5-main branch]
2022-06-06 16:33:57 -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
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
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Chris Gagnon
76c6bcbfeb UE4 Main merged to Dev-Tools-Staging at CL 11164391
#rb none

[CL 11171981 by Chris Gagnon in Dev-Tools-Staging branch]
2020-01-29 20:39:37 -05:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
lauren barnes
c5aa0bcfce Curve editing tools now specify interactive vs. non-interactive changes
#jira UE-85567
#rb Matt.Hoffman
#rnx


#ROBOMERGE-SOURCE: CL 11074040 via CL 11074041
#ROBOMERGE-BOT: (v637-11041722)

[CL 11074042 by lauren barnes in Main branch]
2020-01-21 13:01:11 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
Nicolas Nebel
a9f3f32176 Curve Editor: Add snap to grid option and allow users to set grid spacing
#jira UE-74422
#jira UE-75019
#rb max.chen andrew.rodham

[CL 7465722 by Nicolas Nebel in Dev-Editor branch]
2019-07-19 19:40:14 -04:00