* Readjusted strength of the terrain brushes from seconds / 100.0 to seconds / 5.0. (5 seconds = raise one brush radius)

afrisby
Adam Frisby 2007-07-17 18:08:53 +00:00
parent fea3c20576
commit 5524b96b10
2 changed files with 7 additions and 7 deletions

View File

@ -54,32 +54,32 @@ namespace OpenSim.Region.Environment.Scenes
{
case 0:
// flatten terrain
Terrain.flatten(north, west, size, (double)seconds / 100.0);
Terrain.flatten(north, west, size, (double)seconds / 5.0);
RegenerateTerrain(true, (int)north, (int)west);
break;
case 1:
// raise terrain
Terrain.raise(north, west, size, (double)seconds / 100.0);
Terrain.raise(north, west, size, (double)seconds / 5.0);
RegenerateTerrain(true, (int)north, (int)west);
break;
case 2:
//lower terrain
Terrain.lower(north, west, size, (double)seconds / 100.0);
Terrain.lower(north, west, size, (double)seconds / 5.0);
RegenerateTerrain(true, (int)north, (int)west);
break;
case 3:
// smooth terrain
Terrain.smooth(north, west, size, (double)seconds / 100.0);
Terrain.smooth(north, west, size, (double)seconds / 5.0);
RegenerateTerrain(true, (int)north, (int)west);
break;
case 4:
// noise
Terrain.noise(north, west, size, (double)seconds / 100.0);
Terrain.noise(north, west, size, (double)seconds / 5.0);
RegenerateTerrain(true, (int)north, (int)west);
break;
case 5:
// revert
Terrain.revert(north, west, size, (double)seconds / 100.0);
Terrain.revert(north, west, size, (double)seconds / 5.0);
RegenerateTerrain(true, (int)north, (int)west);
break;

View File

@ -56,7 +56,7 @@ namespace OpenSim.Region.Scripting.Examples
string desc = prim.Description;
string name = prim.Name;
LLVector3 pos = prim.Pos;
LLVector3 rot = new LLVector3();
LLQuaternion rot = new LLQuaternion(prim.Rotation.x, prim.Rotation.y, prim.Rotation.z, prim.Rotation.w);
LLVector3 scale = prim.Scale;
LLVector3 rootPos = prim.WorldPos;