public static void EndPaintHeightmap(PaintContext ctx, string editorUndoName)
 {
     ctx.ScatterHeightmap(editorUndoName);
     ctx.Cleanup();
 }