mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* Fixed an issue where Terrain brushes may not update correctly.
This commit is contained in:
@@ -92,7 +92,16 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace libTerrain
|
||||
/// <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)
|
||||
{
|
||||
bool debugImages = true;
|
||||
bool debugImages = false;
|
||||
|
||||
Channel wind = new Channel(w, h) ;
|
||||
Channel sediment = new Channel(w, h);
|
||||
|
||||
Reference in New Issue
Block a user