* Fixed an issue where Terrain brushes may not update correctly.
parent
cd88a4914d
commit
2de8f0ef3d
|
@ -92,7 +92,16 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
remoteUser.SendLayerData((int)(west / 16), (int)(north / 16), Terrain.GetHeights1D());
|
for (int x = 0; x < 16; x++)
|
||||||
|
{
|
||||||
|
for (int y = 0; y < 16; y++)
|
||||||
|
{
|
||||||
|
if (Terrain.Tainted(x * 16, y * 16))
|
||||||
|
{
|
||||||
|
remoteUser.SendLayerData(x, y, Terrain.GetHeights1D());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ namespace libTerrain
|
||||||
/// <param name="lowest">Drop sediment at the lowest point?</param>
|
/// <param name="lowest">Drop sediment at the lowest point?</param>
|
||||||
public void AerobicErosion(double windspeed, double pickupTalusMinimum, double dropTalusMinimum, double carry, int rounds, bool lowest, bool usingFluidDynamics)
|
public void AerobicErosion(double windspeed, double pickupTalusMinimum, double dropTalusMinimum, double carry, int rounds, bool lowest, bool usingFluidDynamics)
|
||||||
{
|
{
|
||||||
bool debugImages = true;
|
bool debugImages = false;
|
||||||
|
|
||||||
Channel wind = new Channel(w, h) ;
|
Channel wind = new Channel(w, h) ;
|
||||||
Channel sediment = new Channel(w, h);
|
Channel sediment = new Channel(w, h);
|
||||||
|
|
Loading…
Reference in New Issue