Files
UnrealEngineUWP/Engine/Source/Editor/LandscapeEditor
chris tchou eabb74f607 Tool changes to use local edit layer instead of shared state
The upgraded tools are:

FLandscapeToolSculpt
FLandscapeToolSmooth
FLandscapeToolFlatten
FLandscapeToolRamp
FLandscapeToolErosion
FLandscapeToolHydraErosion

The helper class FLandscapeLayerDataCache was fully upgraded to use explicit local edit layers (all tools that made use of it were upgraded, so no need for back compat).

For the tools, I decided to pass down the explicit edit layer via a "SetEditingLayer()" function -- legacy tools simply ignore that function call and continue to use the landscape shared state,
and upgraded tools will use it to set up the layer they should work in.

#rb jonathan.bard
#jira UE-133198
#preflight 63fe67b630633435f8b0e646

[CL 24472138 by chris tchou in ue5-main branch]
2023-03-01 17:22:50 -05:00
..