mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* May make the terrain flatten brush behave like Second Life(tm)'s client expects. May break everything. You decide!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user