Commit Graph

9 Commits

Author SHA1 Message Date
ryan schmidt
d3e9dcbc26 ModelingTools: replace StorableSelection mechanism with new UPersistentMeshSelection and UPersistentMeshSelectionManager context object.
- UPersistentMeshSelection is largely a port of UGroupTopologyStorableSelection, with the actual selection data moved to FGenericMeshSelection
- UPersistentMeshSelectionManager is meant to be used as a ContextObject in a ToolsContext, also contains utility functions to register/unregister/find context object
- Selection is no longer passed as part of FToolBuilderState. Instead Tools access the selection via ContextObject
- UPersistentMeshSelectionManager currently supports a single active selection. Selection changes are transacted via an FChange.
- When not inside a Tool, Selection is visualized with a pink border outline. Currently vertex selection is not visualized.
- Usage model is that on Tool Accept/Complete, prior to Tool Shutdown, any existing selection is cleared, and Tool may set a new Output selection which becomes the active selection
- StoredMeshSelectionUtil.h has utility functions to get current selection, set output selection, and clear it
- SingleSelectionMeshEditingTool already made input selection available to subclasses, port that capability to new architecture
- convert EditMeshPolygonsTool to be a SingleSelectionMeshEditingTool, use provided Input selection and set Output selection as appropriate

- ModelingToolsEditorMode clears active selection where appropriate, eg if selected object changes. However the behavior here will need further improvement, currently relies on questionable event handling from the TypedElement system

#rb semion.piskarev
#rnx
#jira none
#preflight 6136cbbfd9c85a0001fc3b56

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17441056 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17441061 by ryan schmidt in ue5-release-engine-test branch]
2021-09-06 23:05:07 -04:00
ryan schmidt
6ec31395ad ToolsFramework: add SingleClickOrDragBehavior, switches from click-behavior to drag-behavior if the mouse moves beyond a threshold distance
#rb semion.piskarev
#rnx
#jira none
#preflight 612e4f819db30900017e2fb9

#ROBOMERGE-SOURCE: CL 17372477 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17372502 by ryan schmidt in ue5-release-engine-test branch]
2021-08-31 13:22:13 -04:00
jimmy andrews
d72400a246 fix crash in case where transform gizmo somehow doesn't have an associated gizmo actor
#rnx
#rb lonnie.li
#preflight 612d1e3679d62b000163e6a8

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

[CL 17358129 by jimmy andrews in ue5-release-engine-test branch]
2021-08-30 16:21:43 -04:00
andrew davidson
ffa1d5ca26 LWC support for FQuat and FTransform
Merge Dev-LargeWorldCoordinates [at] 17289670

#preflight 6125fb6925057900014f2cd6

#ROBOMERGE-SOURCE: CL 17300515 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300523 by andrew davidson in ue5-release-engine-test branch]
2021-08-25 06:26:44 -04:00
semion piskarev
56fc3e661a InteractiveToolsFramework: Issue complete instead of cancel when switching away from a non accept/cancel tool.
#rb Brooke.Hubert, Jimmy.Andrews
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 17290691 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17290706 by semion piskarev in ue5-release-engine-test branch]
2021-08-24 14:36:58 -04:00
jimmy andrews
29b2034524 Replace fracture plane cut's "reference actor" concept with a transform gizmo that directly controls the cutting plane
#rb brett.miller
#preflight 611dc62de7a30700014b475c

#ROBOMERGE-SOURCE: CL 17234932 via CL 17234938
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17234943 by jimmy andrews in ue5-release-engine-test branch]
2021-08-19 11:44:17 -04:00
michael balzer
5a20a5e3d0 Move InteractiveToolsFramework and GeometryFramework out of Experimental
#jira UETOOL-3823
#rb brooke.hubert
#preflight 6109d1e9b4288d0001acb7ef

#ROBOMERGE-SOURCE: CL 17055606 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17055619 by michael balzer in ue5-release-engine-test branch]
2021-08-04 13:59:17 -04:00
ryan schmidt
889b66d92f Move InteractiveToolsFramework and EditorInteractiveToolsFramework modules to Experimental
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 6913333 in //UE4/Dev-Editor/...
#ROBOMERGE-BOT: ENGINE (Dev-Editor -> Main) (v366-6836689)

[CL 6913342 by ryan schmidt in Main branch]
2019-06-10 14:03:39 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00