Commit Graph

146 Commits

Author SHA1 Message Date
Christina TempelaarL
ea485195e6 Added rotation, screen-space rotation, and screen-space translation interactions in new TRS gizmo.
#jira UE-152998, UE-153003, UE-152992
#rb zach.rammell
#preflight 62d99456bc175ec68c8a4448

[CL 21205025 by Christina TempelaarL in ue5-main branch]
2022-07-21 14:22:29 -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
Christina TempelaarL
35b43a9df9 Update TransformGizmo ClickDrag handling methods to use function tables, in preparation for adding more interactions.
#jira UE-157945
#rb zach.rammell, ronald.koppers
#preflight 62d089c7dc4397d384216ef3

[CL 21100106 by Christina TempelaarL in ue5-main branch]
2022-07-14 17:42:15 -04:00
Ryan Schmidt
064f95c6ac ToolsFramework: Add UEditorInteractiveToolsContext::OnTick delegate, similar to OnRender and OnDrawHUD, allows code w/ access to the Context to hook into the Context Tick w/o having to override it/etc.
#rb jimmy.andrews
#preflight 62b0e21cde510ae06e705771

[CL 20861922 by Ryan Schmidt in ue5-main branch]
2022-06-28 13:59:43 -04:00
Christina TempelaarL
056e75b475 LineTrace now takes GizmoViewContext rather than using cached render state, which enables invisible hittable objects and will be more robust when there are multiple viewports.
#jira UE_156895
#rb zach.rammell
#preflight 62b61102d82986248b77b1b4

[CL 20815417 by Christina TempelaarL in ue5-main branch]
2022-06-24 15:37:22 -04:00
Christina TempelaarL
d04d272964 Added support for render state overrides and line render state in the gizmo element library.
#jira UE-156712
#rb zach.rammell
#preflight 62ac062ad074a2685c45b17d

[CL 20699472 by Christina TempelaarL in ue5-main branch]
2022-06-17 00:46:15 -04:00
Christina TempelaarL
6933668de3 Add view alignment mode PointScreen to gizmo element base class.
#jira UE-156708
#rb zach.rammell
#preflight 62aa4324db3f89d316292b1d

[CL 20676866 by Christina TempelaarL in ue5-main branch]
2022-06-15 16:55:53 -04:00
Christina TempelaarL
1012fcb1f8 Fixed TRS gizmo scale delta calculation. Added new methods for converting mouse moves to translate/scale deltas.
#jira UE-152984
#rb zach.rammell
#preflight 62a252117e3e869b97d6c587

[CL 20584220 by Christina TempelaarL in ue5-main branch]
2022-06-09 16:18:14 -04:00
Christina TempelaarL
94199718d7 Added pixel hit distance threshold support to gizmo element library.
#jira UE-155188
#rb zach.rammell
#preflight 62a025483f2a47521b69af78

[CL 20551988 by Christina TempelaarL in ue5-main branch]
2022-06-08 00:32:13 -04:00
Christina TempelaarL
1f73117feb Add scale, planar scale and planar translate interaction to the new TRS gizmo.
#jira UE-152984, UE-152990, UE-152989
#rb zach.rammell
#preflight 62991e9bf62914987e95ac6c

[CL 20475697 by Christina TempelaarL in ue5-main branch]
2022-06-02 16:56:13 -04:00
Christina TempelaarL
f297287ca3 Added translation interaction to the new TRS gizmo.
#jira UE-152987
#rb brooke.hubert
#preflight 6297fcd2841f5ba93cd23c33

[CL 20463098 by Christina TempelaarL in ue5-main branch]
2022-06-01 20:18:56 -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
Christina TempelaarL
4966988cf5 New TRS gizmo: add support for hovering.
#jira UETOOL-4781
#rb brooke.hubert
#preflight 62747612594b7a20312da916

[CL 20067991 by Christina TempelaarL in ue5-main branch]
2022-05-05 21:17:09 -04:00
Christina TempelaarL
cb16fb4e51 Update gizmo element library with support for common view-dependent functionality, and rectangle, circle, torus objects. Implemented new TransformGizmo UX design using gizmo primitive library objects.
#rb michael.balzer, jimmy.andrews
#jira UETOOL-4296, UETOOL-3781
#preflight 624dd8b69052f5517c120614

[CL 19655712 by Christina TempelaarL in ue5-main branch]
2022-04-06 17:04:09 -04:00
brooke hubert
539c725563 Deprecate the typed element selection set on the tool builder state. This can be replaced with the context object that exposes the typed element set within an asset editor.
#preflight 6234e5193f685c2b42225e35
# this fixes CIS errors and sets us up to remove this next release
#Jira UE-146522
#rb christina.tempelaarl semion.piskarev

[CL 19466120 by brooke hubert in ue5-main branch]
2022-03-22 10:07:48 -04:00
Christina TempelaarL
554f7b10ce Non-unity fix
#jira UE-146565
#rb trivial
#preflight 6235407948746817f1433b4f

[CL 19444018 by Christina TempelaarL in ue5-main branch]
2022-03-18 22:36:07 -04:00
Christina TempelaarL
a1eb472bed Non-unity fix.
#jira UE-146528
#rb trivial
#preflight 62354053b43f22036e182ffb

[CL 19444012 by Christina TempelaarL in ue5-main branch]
2022-03-18 22:34:31 -04:00
daren cheng
1faa92fb06 Fix static analysis CIS nullptr guard EdModeInteractiveToolsContext Viewport
#jira UETOOL-4564 UETOOL-4565
#rb trivial
#preflight skip

[CL 19261387 by daren cheng in ue5-main branch]
2022-03-03 22:48:33 -05:00
daren cheng
99592a0721 Widget Tool Palette Prototype.
Add Marquee & create widget tools.
Add framework for widget-based tools.

#preflight 62202c37123d7a7f69141278
#jira UETOOL-4564 UETOOL-4565
#rb Vincent.Gauthier

[CL 19248542 by daren cheng in ue5-main branch]
2022-03-03 14:01:42 -05:00
semion piskarev
15d86db7c0 Editor: Add delegates in EdModeInteractiveToolsContext that allow UEdModes to receive Render() and DrawHUD() calls.
#rb Brooke.Hubert
#jira none
#preflight 621cef96d815cc2f95e785c3

[CL 19174863 by semion piskarev in ue5-main branch]
2022-02-28 11:31:41 -05:00
Patrick Boutot
212b66fd23 Fix Compile warnings in InteractiveToolStack
#fyi daren.cheng
#rb trivial
#preflight none

[CL 19033732 by Patrick Boutot in ue5-main branch]
2022-02-17 08:32:42 -05:00
daren cheng
526c49058a Add Toolstack support to tool palettes.
#jira UE-138664
#preflight 6202ee26c451a5d0dc08eec6
#rb brooke.hubert Rex.Hill Ryan.Schmidt Patrick.Boutot
#fyi Ryan.Schmidt, Lauren.Barnes

[CL 19020456 by daren cheng in ue5-main branch]
2022-02-16 15:08:30 -05:00
brooke hubert
26855f63c6 Fix an issue where ITF tools would not clean up when their contexts were removed, which was causing a crash.
#preflight 61e09acf6e4980109363ec94
#Jira UE-137935
#rb ryan.schmidt

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 18623565 in //UE5/Release-5.0/... via CL 18623582 via CL 18623598
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18623612 by brooke hubert in ue5-main branch]
2022-01-14 16:31:20 -05:00
brooke hubert
f149e45233 Fixing a bug where creating temporary actors via typed elements would not be able to delete them again in single place tool
#preflight 61b22ba9c674eb9fc9d8ea9a
#Jira None
#rb julien.stjean ryan.schmidt

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 18420733 in //UE5/Release-5.0/... via CL 18422600
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422868 by brooke hubert in ue5-release-engine-test branch]
2021-12-09 14:51:37 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00