Files
UnrealEngineUWP/Engine/Source/Runtime/Experimental/InteractiveToolsFramework
Ryan Schmidt 797f4cf4ac 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

[CL 11570866 by Ryan Schmidt in 4.25 branch]
2020-02-20 17:33:21 -05:00
..