* May make the terrain flatten brush behave like Second Life(tm)'s client expects. May break everything. You decide!
parent
275e53b126
commit
a7b49084ad
|
@ -41,10 +41,13 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
|||
|
||||
int x, y;
|
||||
|
||||
duration = 0.009; //MCP Should be read from ini file
|
||||
|
||||
// Disabled - just use the client value.
|
||||
/*
|
||||
if (rz < 0) {
|
||||
double sum = 0.0;
|
||||
double step2 = 0.0;
|
||||
duration = 0.009; //MCP Should be read from ini file
|
||||
|
||||
|
||||
// compute delta map
|
||||
|
@ -63,6 +66,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
|||
}
|
||||
rz = sum / step2;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
// blend in map
|
||||
|
|
Loading…
Reference in New Issue