From 5524b96b10bd662b19d6b54370fb88fce5ebc32b Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 17 Jul 2007 18:08:53 +0000 Subject: * Readjusted strength of the terrain brushes from seconds / 100.0 to seconds / 5.0. (5 seconds = raise one brush radius) --- OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 12 ++++++------ .../Engines/CSharpEngine/Examples/ExportRegionToLSL.cs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 18c9637..f39d56a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs @@ -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; diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs index 79d88b1..f753b30 100644 --- a/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs @@ -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; -- cgit v1.1