Base Map Distance broken?

Since I’ve upgraded to a newer version of unity it seems that adjusting the Base Map Distance of my terrain through code no longer works. Which causes my large terrain to look very ugly. Any fix or does Unity know this feature is broken?

Terrain.activeTerrain.basemapDistance = 10000;

You probably need to call Terrain.activeTerrain.Flush after you set it. This is probably no necessary.

edit
To set the basemapDistance of all terrains do this:

// C#
foreach(var terrain in Terrain.activeTerrains)
{
    terrain.basemapDistance = 10000;
}

// UnityScript
for(var terrain in Terrain.activeTerrains)
{
    terrain.basemapDistance = 10000;
}