Commit Graph

47 Commits

Author SHA1 Message Date
benoit gadreau
41162392a6 Animation mode & Sequencer: added the ability to filter widget types to avoid stealing focus from
#jira UE-223373
#rb Mike.Zyracki
#rnx

#ushell-cherrypick of 36233912 by benoit.gadreau

[CL 36259509 by benoit gadreau in 5.5 branch]
2024-09-13 05:53:44 -04:00
benoit gadreau
d71750a8da Animation mode & Sequencer: focus improvements
Set the focus on the viewport, sequencer or the curve editor if the mouse hovers the widget AND a key is pressed when the mouse is over the widget.
    This is disabled by default but can be enabled using 'AnimMode.PendingFocusMode true' to enable it in animation mode only

+ improved fps when playing animations in animation mode (mainly due to synthesized mouse moves)

TODO: add a user preference instead of the cvar if the feedback is positive
NOTE: this could probably be something provided as a core slate functionality but we'd like this to be tested at the animation level first.


#jira UE-220620
#rb mike.zyracki

[CL 35311116 by benoit gadreau in ue5-main branch]
2024-08-05 13:08:14 -04:00
max chen
086ea58abc Curve Editor: Change snap axis to a setting/preference
Tested that you can still override snapping by holding down Shift.
Tested that snapping settings are retained when closing and reopening Sequencer/Curve Editor.

#jira UE-203562
#rb Mike.Zyracki

[CL 32217525 by max chen in ue5-main branch]
2024-03-13 12:29:45 -04:00
max chen
c035d07bc0 Curve Editor: Use FTextBlock so that orientation is handled automatically
Text was mirrored for Arabic

#rb ludovic.chabant, vincent.gauthier

[CL 27922170 by max chen in ue5-main branch]
2023-09-15 13:23:01 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
max chen
9b7c2c02fb Curve Editor: Rework the curve editor filters view so that it is now accessible from the curve editor panel and will emit OnFilterClassChanged.
Added setting the Frame Number customization for the filter details view so that FFrameNumber can be in frame numbers/seconds for the bake interval

#jira UE-181890
#rb andrew.rodham

[CL 26105138 by max chen in ue5-main branch]
2023-06-19 16:56:26 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
mike zyracki
cf58f87c06 Curve Editor: Add Option to show bars(constarint/spaces)
#jira UE-184767
#rb max.chen
#preflight 645576afd02ea5289f0b31dc

[CL 25373570 by mike zyracki in ue5-main branch]
2023-05-08 13:47:47 -04:00
mike zyracki
e6953937d9 Sequencer: Smart Auto Key
New algorithm is in MovieScenCurveChannelImpl where we calculate auto tangents. Since they work off tangents and not key positons, need to make sure to recalc them if the tangent changes now.  Since FRichCurve will not support these new auto tangents, they only do 2 key interps with the old auto key algorithm that doesn't average the tangents at all, had to add a SupportedTangentType to FCurveEditor so that we can use that with the curve editor context menu/commands/SCurveEditorPanel since they are all shared between Sequencer and the Curve Asset viewer. Most of the code is making sure we treat smart auto's the same as the old autos
#jira UE-171811
#rb max.chen
#preflight 6446d596dc71c13446fa361a

[CL 25175842 by mike zyracki in ue5-main branch]
2023-04-24 23:44:01 -04:00
mike zyracki
8d512fc280 Sequencer: Curve Editor: Keep Output bounds the same even if curves are destroyed so users can select/deselect and keep their curve bounds.
#jira UE-158396
#rb max.chen
#preflight 63dadf9ddd0298377620e8b4

[CL 24009676 by mike zyracki in ue5-main branch]
2023-02-04 00:31:06 -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
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
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
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
max chen
16d8af48fe Curve Editor: Buffered curve features
Buffered curves now can only operate on themselves, matching by LongDisplayName. The operations are also restricted to the selected curves (either selected in the tree or selected by way of selected keys). There is a new option to Swap Buffered Curves which stores the current curve to the buffer and restores the buffer to the current curve. The Store/Swap/Apply menus are now visible for all the context menus (keys, hovered curve, all curves). There is also a new toggle to show/hide buffered curves and they are also only visible when the curve is selected.

#jira UE-143895
#preflight 62294f800d5a90e98ed4ae68
#rb mike.zyracki

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 19344793 via CL 19346614 via CL 19351363 via CL 19351424
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19351984 by max chen in ue5-main branch]
2022-03-11 04:29:44 -05:00
max chen
e3f6fb7d80 Curve Editor: Add option to Snap Time to Selection
#jira UE-143640
#rb mike.zyracki
#preflight 621fb45b410576ef87121887

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 19258242 via CL 19269915 via CL 19278085 via CL 19293492
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19344867 by max chen in ue5-main branch]
2022-03-10 19:33:40 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
mike zyracki
c4aed9c60c Sequencer: Custom Curve Colors
Added Custom Color Support to Curve Editor. This is done via an Editor preference(CurveEditorSettings) that stores a color per UClass, property name(intent name of the channel in Curve Editor), and the Color. So would be something like StaticMeshActor, "Translate.X", (1.0f,0.0f,0.f90)

Added to Sections an UObject* GetImplicitObjectOwner(). Usually this is the Possessable/Spawnable of the owning track, but for Control Rig Tracks we use the
specified Control Rig instead.

So we use that implicit owner to get the UClass to associate with the channel.

Also added some Python/BP functions since editor pref's aren't scriptable.

#jira MH-3206
#preflight 61520812d0edce00010149bf

#ROBOMERGE-AUTHOR: mike.zyracki
#ROBOMERGE-SOURCE: CL 17635750 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17635764 by mike zyracki in ue5-release-engine-test branch]
2021-09-27 16:10:44 -04:00
max chen
ad4228476b Sequencer: UX Cleanup
- Tighten up Sequencer and Curve Editor toolbars
- Fix  key navigation sizing/spacing
- Remove transparent style for pill text input which makes it hard to read and inconsistent with the new starship style.

#rb trivial
#rnx
#preflight 612d19b5423a8f00012fe911

#ROBOMERGE-SOURCE: CL 17357654 via CL 17357658
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17357666 by max chen in ue5-release-engine-test branch]
2021-08-30 15:58:32 -04:00
max chen
ad758ead4e Curve Editor: Increase the splitter handle width to make it easier to grab
#jira UE-122033
#rb trivial

#ROBOMERGE-SOURCE: CL 17240339 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17240362 by max chen in ue5-release-engine-test branch]
2021-08-19 17:50:53 -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
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Matt Kuhlenschmidt
036e2d0733 Removed all instances of large toolbars with 40x40 icons and reset their layouts to confrom to the new standard toolbar size and tabless design
[CL 14999694 by Matt Kuhlenschmidt in ue5-main branch]
2021-01-06 12:07:36 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00