102 Commits

Author SHA1 Message Date
jimmy andrews
90d0274aa9 make spline component visualizer and details customization call the owner actor's posteditmove method to make sure the construction script can re-run as expected
#jira UE-213520
#rb brooke.hubert

[CL 33463287 by jimmy andrews in ue5-main branch]
2024-05-06 14:08:37 -04:00
steve robb
9c7affb850 Removed unused variables.
[CL 32969776 by steve robb in ue5-main branch]
2024-04-15 08:49:28 -04:00
quinn hovey
51f0a883cc [SplineComponentVisualizer]
* Removed default of A-Key from Add Spline Point keyboard shortcut

[REVIEW] Brooke.Hubert

[CL 31137847 by quinn hovey in ue5-main branch]
2024-02-02 15:28:56 -05:00
quinn hovey
f4395509fe [SplineComponentVisualizer]
* Added new commands:
- ToggleSnapTangentAdjustments, StraightenToNext, StraightenToPrevious, ToggleClosedLoop

#jira UE-205518, UE-205517, UE-205516
[REVIEW] [at]Brooke.Hubert
#rb brooke.hubert

[CL 31073304 by quinn hovey in ue5-main branch]
2024-01-31 19:04:38 -05:00
brooke hubert
6ba881a341 [Component Visualizer] Fix an issue where spline component visualizer was not correctly re-evaluating and clearing in some cases for viewport selections
#jira UE-204023
#rb ronald.koppers

[CL 30693118 by brooke hubert in ue5-main branch]
2024-01-18 14:53:33 -05:00
brooke hubert
01a92c528f [Spline Component Visualizer] Fix a few issues with selection of component visualizers
Selecting the actor in the outliner would cause component visualizers to stop drawing for the selection

When dragging and dropping something containing a spline component to the viewport, a double selection was occurring which was clearing the component visualizers to draw.

Fix an issue where the spline component visualizer being active didn't select the component, which could result in loss of the editing state when selecting the component in the component tree view. This feature is on by default, but toggle-able by the cvar Editor.ComponentVisualizer.AutoSelectComponent

#Jira UE-201470
#rb roey.borsteinas

[CL 30097141 by brooke hubert in ue5-main branch]
2023-12-04 17:15:25 -05:00
roey borsteinas
60e23db5c7 Added localization macro for Spline Generation panel title.
#jira FORT-648836
#rb trivial

[CL 27604068 by roey borsteinas in ue5-main branch]
2023-09-05 13:51:12 -04:00
semion piskarev
2c0ced639c SplineComponent: Support surface snapping when dragging a single spline point by the ball of the gizmo.
#rb Nathan.Mitchell
#jira UE-191682

[CL 26763135 by semion piskarev in ue5-main branch]
2023-08-01 21:00:13 -04:00
brooke hubert
2c7776b03c [Splines] Rework component visualizer visibility to key off draw debug variable.
When this is disabled, the component visualizer will still draw if the component is directly selected, and will allow editing this way.

Supports "helper" splines for PCG workflows that are intended to be hidden by default to the user.

#Jira UE-186081
#rb jonathan.bard ronald.koppers
#preflight 64640d742d446eac96781167

[CL 25507489 by brooke hubert in ue5-main branch]
2023-05-17 10:55:01 -04:00
David Lesage
a8afa64741 #jira UE-65072: Improve accuracy of getting the nearest point on a spline to a given position.
Rename FInterpCurve<T>::InaccurateFindNearest into FInterpCurve<T>::FindNearest

https://docs.google.com/presentation/d/1ktMLMfY-pgjqwLMBERA1NJkEAB_jlyMt9ni99QdTdl0/edit?usp=sharing
This document is an analysis of the current algorithm, a presentation of the improvements and some tests

#rb richard.talbotwatkins
#preflight 63fe27c8437ce3e7f396e449

[CL 24443724 by David Lesage in ue5-main branch]
2023-02-28 11:31:02 -05:00
David Lesage
4a7db214a6 #jira UE-100136: add hotkey to add spline point at the current mouse point
#rb lauren.barnes
#preflight 63f4dcb2cf37615300e876b3

[CL 24339241 by David Lesage in ue5-main branch]
2023-02-21 10:08:59 -05:00
David Lesage
edd89bd227 #jira UE-114536 : fix Spline context menu Reset To Default
#rb Lauren.Barnes
#preflight 63e3ba3d786751d1e014489a

[CL 24072657 by David Lesage in ue5-main branch]
2023-02-08 10:14:49 -05:00
christopher waters
0d5b23e2e3 Adding includes to prepare for a header dependency cleanup.
#preflight 63b5e0bfff7b9ad7030f0f81

[CL 23581920 by christopher waters in ue5-main branch]
2023-01-04 17:07:40 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
jonathan bard
565cca313b * Added proper support for property change type in spline component visualizer (interactive changes when manipulating spline points, non-interactive change at the end of the drag operation)
* Added project settings to deactivate landscape or water mesh updates during interactive changes of water body/island splines
* Reorganised Water Editor project settings

#rb roey.borsteinas
#preflight 6324b6183752284a318c2ca9

[CL 22084568 by jonathan bard in ue5-main branch]
2022-09-19 19:46:51 -04:00
Zak Middleton
0a5ea36090 #ue5 - Fix type truncation warnings in ComponentVisualizers module.
#jira UE-160830
#rb Dave.Jones2
#preflight 630e8c1a660db81edb9eb299

[CL 21725293 by Zak Middleton in ue5-main branch]
2022-08-31 14:37:38 -04:00
roey borsteinas
2eb377c8c8 Splines: Fixed an issue where the spline visualizer wasn't taking into account the list of enabled/supported spline point types for the given component.
#rb jonathan.bard

[CL 21691464 by roey borsteinas in ue5-main branch]
2022-08-29 18:47:53 -04:00
jordan hoffmann
4f4acc9479 [Bug Fix] Selecting other components after selecting a Spline Component's control point keeps the transform gizmo and functionality at the Spline Control point
#jira UE-150957
#rb christina.tempelaarl
#preflight 62d744f51062f2e6306fe96b
#preflight 62d9afb53122bf80ae0e8dfa

[CL 21208934 by jordan hoffmann in ue5-main branch]
2022-07-21 16:20:54 -04:00
jordan hoffmann
487c7462f0 [Backout] - CL21169598
#fyi jordan.hoffmann
Original CL Desc
-----------------------------------------------------------------
[Bug Fix] Selecting other components after selecting a Spline Component's control point keeps the transform gizmo and functionality at the Spline Control point
#jira UE-150957
#rb christina.tempelaarl
#preflight 62d744f51062f2e6306fe96b

[CL 21183442 by jordan hoffmann in ue5-main branch]
2022-07-20 12:43:43 -04:00
jordan hoffmann
62bdc2b086 [Bug Fix] Selecting other components after selecting a Spline Component's control point keeps the transform gizmo and functionality at the Spline Control point
#jira UE-150957
#rb christina.tempelaarl
#preflight 62d744f51062f2e6306fe96b

[CL 21169598 by jordan hoffmann in ue5-main branch]
2022-07-19 20:13:12 -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
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
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -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