Commit Graph

11 Commits

Author SHA1 Message Date
Christina TempelaarL
b3888165b3 Move gizmo primitive objects and related classes to Experimental/EditorInteractiveToolsFramework directory for 5.0. They are currently only used by UEditorTransformGizmo and are still in active development.
#jira UE-126648
#rb ryan.schmidt
#preflight 61437544568b3a00012173e0

[CL 17541920 by Christina TempelaarL in ue5-main branch]
2021-09-16 13:52:50 -04:00
semion piskarev
c0062e5c11 MeshModelingTools: Added a CubeGrid tool, which allows for blocky boolean operations on an orientable power-of-two grid.
#rb Jimmy.Andrews, Matija Kecman
#rnx
#jira none
#preflight 6142002f8169560001cf8b91

[CL 17520534 by semion piskarev in ue5-main branch]
2021-09-15 11:24:08 -04:00
Ryan Schmidt
1278985545 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

[CL 17441056 by Ryan Schmidt in ue5-main branch]
2021-09-06 23:03:05 -04:00
Ryan Schmidt
866ed44d7f 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

[CL 17372477 by Ryan Schmidt in ue5-main branch]
2021-08-31 13:20:50 -04:00
jimmy andrews
fef1855b99 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
#ROBOMERGE-BOT: (v865-17346139)

[CL 17358106 by jimmy andrews in ue5-main branch]
2021-08-30 16:20:43 -04:00
Andrew Davidson
f8eda1fd0b LWC support for FQuat and FTransform
Merge Dev-LargeWorldCoordinates @ 17289670

#preflight 6125fb6925057900014f2cd6

[CL 17300515 by Andrew Davidson in ue5-main branch]
2021-08-25 06:25:38 -04:00
semion piskarev
81068880d1 InteractiveToolsFramework: Issue complete instead of cancel when switching away from a non accept/cancel tool.
#rb Brooke.Hubert, Jimmy.Andrews
#rnx
#jira none

[CL 17290691 by semion piskarev in ue5-main branch]
2021-08-24 14:35:53 -04:00
jimmy andrews
381ffded96 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
#ROBOMERGE-BOT: (v855-17104924)

[CL 17234938 by jimmy andrews in ue5-main branch]
2021-08-19 11:43:52 -04:00
michael balzer
2b10993563 Move InteractiveToolsFramework and GeometryFramework out of Experimental
#jira UETOOL-3823
#rb brooke.hubert
#preflight 6109d1e9b4288d0001acb7ef

[CL 17055606 by michael balzer in ue5-main branch]
2021-08-04 13:58:55 -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