Commit Graph

23 Commits

Author SHA1 Message Date
Jimmy Andrews
5202325365 when switching tools, don't accept the result of a tool when CanAccept() is false
#rb semion.piskarev, david.hill

[CL 15054293 by Jimmy Andrews in ue5-main branch]
2021-01-12 16:11:19 -04:00
semion piskarev
bdf43a29db MeshModelingToolset: Added a way to store tool selections between tool invocations and used it in PolyEdit tool.
#rb Ryan.Schmidt
#jira UETOOL-2372
#rnx

[CL 14745200 by semion piskarev in ue5-main branch]
2020-11-13 14:07:30 -04:00
brooke hubert
d4c157384c Initial Creation of Asset Placement Mode UI for tools and commands.
# Added a save and load config on the settings class for UEdMode so mode wide settings would be sticky between runs.
# Removed FString refs in some functions so they could be bound using UObject delegate methods.

#rnx
#Jira UE-98157
#review-14449500
#rb lauren.barnes

[CL 14451570 by brooke hubert in ue5-main branch]
2020-10-08 18:56:55 -04:00
michael daum
6d663c6489 InteractiveToolsFramework: Add render query information to tell if a viewport is hovered and/or focused
#rb ryan.schmidt
#rb tyson.brochu

[CL 14345629 by michael daum in ue5-main branch]
2020-09-18 09:25:18 -04:00
brooke hubert
e85ae49f14 The EditorToolsContext is now owned by the mode manager.
Updated Mesh Paint, geometry, arch gen, hair lab, and sample editor modes to reflect changes to the tools context ownership.

#Jira UE-96448
#rb lauren.barnes michael.daum
#fyi ryan.schmidt simon.barsky jack.greasley
#review-14189762
#review-14189796
#review-14189767
#review-14189774
#review-14189785

[CL 14247116 by brooke hubert in ue5-main branch]
2020-09-02 15:43:58 -04:00
michael daum
f0a80902be InteractiveToolsFramework: Add DrawHUD capability to Tools
#jira none
#rnx
#rb lauren.barnes
#rb brooke.hubert

[CL 14222728 by michael daum in ue5-main branch]
2020-08-31 16:54:59 -04:00
ryan schmidt
9be3d9c658 fix copypasta error caught by static analysis
#rb none
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 12483797 in //UE4/Release-4.25/... via CL 12483798 via CL 12483799
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12487361 by ryan schmidt in Main branch]
2020-03-30 12:05:28 -04:00
ryan schmidt
1aede5bec1 ToolsFramework: add accessors to get active tool names
#rb none
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 12472877 in //UE4/Release-4.25/... via CL 12472882 via CL 12472885
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12472889 by ryan schmidt in Main branch]
2020-03-27 14:26:54 -04:00
ryan schmidt
95838aee99 ToolsFramework: ToolManager needs to keep track of whether it is active or not to be able to properly expire change events.
#rb lauren.barnes
#rnx
#jira UE-90455

#ROBOMERGE-SOURCE: CL 12254324 in //UE4/Release-4.25/... via CL 12254334
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v668-12245121)

[CL 12296589 by ryan schmidt in Main branch]
2020-03-19 10:59:25 -04:00
ryan schmidt
c584503a69 Paint Mode uses a different active-Tool model than Modeling Mode, where the user must always be in either Select or Paint tool, and can never be in a 'no-tool' state. Previously active-tool changes were not transacted, and 'undo' out of an active tool canceled it, and starting a new tool pushed a new transaction which discards future transaction. The default-tool behavior in UEdMode would as a result clear the future history if the user did Undo out of an active Tool.
Now this behavior is configurable, and ToolManager can optionally emit FChange transactions that will replay active-tool-change events. Update UMeshPaintMode to use this new alternative. Disable default tool behavior in UEdMode.

To implement this, ToolManager now tracks name of active tool and active tool builders.

#jira UE-88323
#rb lauren.barnes
#rnx

#ROBOMERGE-SOURCE: CL 11570866 in //UE4/Release-4.25/... via CL 11570870
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v654-11333218)

[CL 11585170 by ryan schmidt in Main branch]
2020-02-22 17:01:16 -05:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Lauren Barnes
815b1b8c4f Changing default behavior when swapping away from tools to auto-accept instead of auto-cancel
#rb Ryan.Schmidt
#jira none

[CL 9901026 by Lauren Barnes in Dev-Editor branch]
2019-10-31 11:28:10 -04:00
Lauren Barnes
0caa6d7aa6 GetActiveToolBuilder system fully hooked up
#rb Ryan.Schmidt
#jira none

[CL 9823651 by Lauren Barnes in Dev-Editor branch]
2019-10-24 16:55:47 -04:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
Ryan Schmidt
d55190e47d ToolsFramework: add FToolCommandChange, replace all uses of FCommandChange with it. Move IToolContextTransactionProvider defn to separate file. Add IToolCommandChangeSource interface for downstream code to use. Move FCommandChangeSequence from inside Selection tool up to Framework level.
#rb none
#rnx

[CL 9010050 by Ryan Schmidt in Dev-Editor branch]
2019-09-23 21:52:12 -04:00
Rex Hill
64d7948e9c Fix compile error with UnEdMode PostMessage on windows due to a window headers defining PostMessage
#rb none
#rnx
#fyi Ryan.Schmidt

[CL 8696305 by Rex Hill in Dev-Editor branch]
2019-09-16 14:06:18 -04:00
Ryan Schmidt
2332e92367 ToolsFramework: replace FString/TCHAR in various PostMessage functions with FText. Fix up call sites. Add area to modeling panel to display notification messages.
#fyi lauren.barnes
#rb none
#rnx

[CL 8684596 by Ryan Schmidt in Dev-Editor branch]
2019-09-14 00:17:10 -04:00
Ryan Schmidt
406c4dbbe3 ToolsFramework: Improve Undo/Redo handling with new "Expired" functionality.
InteractiveToolManager now wraps incoming FChanges from the Tools in a FToolChangeWrapperChange that Expires itself once the Tool is no longer active.

InteractiveToolManager now pushes new FBeginToolChange at the start of each Tool. Undoing past start of Tool cancels the Tool, and then this change is Expired.

#rb none
#rnx

[CL 8618478 by Ryan Schmidt in Dev-Editor branch]
2019-09-10 14:40:38 -04:00
Lauren Barnes
b4b7f96557 UEdMode initial implementation and handling by FEdModeManager
#jira UETOOL-1722
#rb none
#rnx
#fyi Ryan.Schmidt

[CL 8614167 by Lauren Barnes in Dev-Editor branch]
2019-09-10 12:01:07 -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
Ryan Schmidt
f5ead98087 Move InteractiveToolsFramework and EditorInteractiveToolsFramework modules to Experimental
#rb none
#rnx
#robomerge UE4-Main

[CL 6913333 by Ryan Schmidt in Dev-Editor branch]
2019-06-10 14:03:03 -04:00