Christina TempelaarL
7ce9c511d0
Gizmo element library: update recently added hover/interact vertex color state when updating state attributes.
...
#jira none
#rb trivial
#preflight 63123ca6a20b67673b79e7f6
[CL 21766561 by Christina TempelaarL in ue5-main branch]
2022-09-02 16:10:58 -04:00
Jimmy Andrews
76052adeff
make brush size hotkeys apply to the brush world radius when in the UI mode that directly uses that radius
...
#jira UE-146379
#preflight 6310d45eca582bd3ac8ae529
#rb ryan.schmidt
[CL 21743462 by Jimmy Andrews in ue5-main branch]
2022-09-01 13:03:41 -04:00
Christina TempelaarL
3497836c74
Gizmo element library: added Arc and CircleBase element. Updated Torus and Circle to derive from CircleBase. Added partial options to CircleBase, including view-dependent partial type for instances of elements that should be drawn non-partial when aligned with viewer. This is needed for the new TRS gizmo rotation axes each of which is a semi-torus which becomes a full torus when aligned with the eye-to-torus direction.
...
#jira UE-155431
#rb zach.rammell
#preflight 630d5f5c556fc14dce580d08
[CL 21694292 by Christina TempelaarL in ue5-main branch]
2022-08-29 20:57:45 -04:00
Christina TempelaarL
b317837654
Gizmo element library: updated IsVisible/IsHittable to test against the correct current interaction state.Added HoverVertexColor and InteractVertexColor to mesh render state (similar to LineColor in line render state).
...
#jira UE-155431
#rb zach.rammell, ronald.koppers
#preflight 630d3df3e352708d44fd02db
[CL 21691254 by Christina TempelaarL in ue5-main branch]
2022-08-29 18:43:58 -04:00
Christina TempelaarL
07dc78baac
Remove unused header.
...
#jira nojira
#rb none
#preflight 630d30e3e1124837753a005a
[CL 21689645 by Christina TempelaarL in ue5-main branch]
2022-08-29 17:38:03 -04:00
Ryan Schmidt
7306c0df34
ToolsFramework: add meta tags to AInternalToolFrameworkActor so that it and its subclasses cannot be placed via Place Actors, Blueprinted, etc
...
#rb none
#preflight 630d12e1e352708d44f7b85f
[CL 21686191 by Ryan Schmidt in ue5-main branch]
2022-08-29 15:40:33 -04:00
Christina TempelaarL
89af034c55
Gizmo element library: fix variable names.
...
#jira nojira
#rb trivial
#preflight 630a7789f92416fb9238d70d
[CL 21624503 by Christina TempelaarL in ue5-main branch]
2022-08-27 16:03:12 -04:00
Christina TempelaarL
8278010e59
Gizmo Element Library: remove unused methods.
...
#jira nojira
#rb trivial
#preflight 630a5f6f660db81edb4144f1
[CL 21619491 by Christina TempelaarL in ue5-main branch]
2022-08-27 14:20:29 -04:00
Christina TempelaarL
c5ac4aee03
Gizmos: modified UGizmoObjectModifyStateTarget so it can be constructed with either a gizmo manager or a tools manager.
...
#jira nojira
#rb ryan.schmidt
#preflight 63092ef4e41c77ba7a244a70
[CL 21598430 by Christina TempelaarL in ue5-main branch]
2022-08-26 16:50:07 -04:00
Christina TempelaarL
dd603492d5
GizmoViewContext: copied over ScreenToPixel() and FMatrices::GetInvViewMatrix() methods from FSceneView.
...
#jira nojira
#rb semion.piskarev
#preflight 63090de66646eb80301e7fa6
[CL 21596154 by Christina TempelaarL in ue5-main branch]
2022-08-26 15:05:29 -04:00
Christina TempelaarL
201b421402
Fix torus intersection approximation and handle partial torii correctly
...
#jira UE-156484
#rb jimmy.andrews
#preflight 63070fb3c744dac9675c80db
[CL 21559622 by Christina TempelaarL in ue5-main branch]
2022-08-25 02:15:50 -04:00
Jimmy Andrews
220e0a11a2
make gizmomath do computations in double precision
...
+ make PlanePositionGizmo not crash if plane intersection fails
#jira UE-157915
#rb Ryan.Schmidt
#preflight 63067f375366f61a42c9b32f
[CL 21550774 by Jimmy Andrews in ue5-main branch]
2022-08-24 16:15:18 -04:00
Christina TempelaarL
1020f2a5bb
New TRS gizmo: highlight related axes when planar scale or uniform scale are hovered or interacting.
...
#jira UE-153005
#rb zach.rammell, ronald.koppers
#preflight 63054d830061f895d02da2f3
[CL 21522322 by Christina TempelaarL in ue5-main branch]
2022-08-23 18:09:09 -04:00
Christina TempelaarL
7448a66dad
Gizmo element library: add getter methods for part-specific state, needed for multi-part state updates used for highlighting gizmo parts in new TRS gizmo uniform scale and planar scale modes.
...
#jira UE-153005
#rb zach.rammell, ronald.koppers
#preflight 630501680061f895d023c9af
[CL 21514957 by Christina TempelaarL in ue5-main branch]
2022-08-23 14:20:49 -04:00
Christina TempelaarL
9c309391a1
New TRS gizmo: fix line scaling bug in line-drawn handles.
...
#jira UE-161600
#rb zach.rammell, ronald.koppers
#preflight 6304fb85c744dac967ec6384
[CL 21512586 by Christina TempelaarL in ue5-main branch]
2022-08-23 13:18:13 -04:00
Christina TempelaarL
106c5cb172
Add missing setter/getters for hit owner flag.
...
#jira nojira
#rb trivial
#preflight 6303ce445a5d4e4624e81ad7
[CL 21489192 by Christina TempelaarL in ue5-main branch]
2022-08-22 15:04:14 -04:00
Christina TempelaarL
8228a8716a
Add approximate LineTrace implementation for GizmoElementTorus. Remove unused method.
...
#jira UE-156484
#rb jimmy.andrews
#preflight 62fa83aeae3edb54c98dcddb
[CL 21389800 by Christina TempelaarL in ue5-main branch]
2022-08-15 13:45:00 -04:00
Christina TempelaarL
8ec9668258
Gizmo element library: add enable flags based on view projection type and interaction state.
...
#jira UE-157631
#rb zach.rammell, ronald,koppers
#preflight 62f56939086f90bbc4284f10
[CL 21344704 by Christina TempelaarL in ue5-main branch]
2022-08-11 16:47:55 -04:00
Bryan sefcik
b4a6e947d8
Ran IWYU on Public headers under Engine/Source/Runtime/...
...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed.
#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira
#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf
[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Ryan Schmidt
6032c02f0e
ModelingMode: add Delete command for current Mesh Selection
...
ToolsFramework:
add UInteractiveCommand and UInteractiveCommandArguments types, base classes for 'interactive commands' which are intended to be used for atomic actions, ie stateless, no user interaction, etc
ModelingComponents:
add UGeometrySelectionEditCommand/Arguments, this is a UInteractiveCommand that uses a FGeometrySelection as an argument
add UGeometrySelectionManager::CanExecuteSelectionCommand() and ExecuteSelectionCommand()
MeshModelingTools:
add UDeleteGeometrySelectionCommand, deletes selected mesh geometry by converting input selection to list of triangles
ModelingToolsEditorMode:
add Delete command to ModelingMode and UI. ModelingToolsEditorMode currently is keeping active command set alive via new UModelingToolsEditorMode::ModelingModeCommands member.
#rb none
#preflight 62d195b9a66919b6701d89a8
[CL 21113757 by Ryan Schmidt in ue5-main branch]
2022-07-15 13:49:13 -04:00
Ryan Schmidt
e3a3eb248d
ToolsFramework: Add UInteractiveToolManager::PostActiveToolShutdownRequest(). This function allows a Tool to request that it be shut down, for example a Tool that wants to apply an action and exit on-click.
...
Also added delegate UInteractiveToolManager::OnToolShutdownRequest. If bound, PostActiveToolShutdownRequest() will call this delegate first, to allow higher-level code to handle the shutdown request (eg by forwarding to EdModeInteractiveToolsContext::EndTool(), for example)
#rb none
#preflight 62b0e22c4055966e39d392f7
[CL 20861945 by Ryan Schmidt in ue5-main branch]
2022-06-28 14:01:02 -04:00
zach rammell
650a416c54
ITF Context Object Stores search through parent stores in all Find implementations
...
#jira none
#rb ryan.schmidt brooke.hubert
#preflight 62bb2b47112bbc898ad479b2
[CL 20861054 by zach rammell in ue5-main branch]
2022-06-28 12:43:51 -04:00
Christina TempelaarL
30600e48d4
Remove irrelevant undefs.
...
#jira nojira
#rb none
#preflight 62b61d6eff7f5dd87efe702a
[CL 20816278 by Christina TempelaarL in ue5-main branch]
2022-06-24 16:30:45 -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
76745ab219
Added ray/ line-drawn circle intersection to gizmo element circle.
...
#jira UE-152995
#rb jimmy.andrews
#preflight 62acfbd7d35e30c5cf2ecb42
[CL 20711833 by Christina TempelaarL in ue5-main branch]
2022-06-17 18:28:26 -04:00