/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h
Update collision component dominant layer data for the whole component, locking and unlocking the weightmap textures.
void UpdateCollisionLayerData()