aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-24 00:19:48 +0000
committerTeravus Ovares2007-11-24 00:19:48 +0000
commitd7ec786244cce8b856233090349d85b4aec76206 (patch)
tree78c24962ce09c5108f63fb31cba91eb4d9fed698 /OpenSim/Region/Environment/Scenes/Scene.cs
parent*Fixed bug causing parcel prim counts to stop updating. (diff)
downloadopensim-SC_OLD-d7ec786244cce8b856233090349d85b4aec76206.zip
opensim-SC_OLD-d7ec786244cce8b856233090349d85b4aec76206.tar.gz
opensim-SC_OLD-d7ec786244cce8b856233090349d85b4aec76206.tar.bz2
opensim-SC_OLD-d7ec786244cce8b856233090349d85b4aec76206.tar.xz
* Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index ea3283d..7bcd7bd 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -257,6 +257,7 @@ namespace OpenSim.Region.Environment.Scenes
257 { 257 {
258 ForEachScenePresence(delegate(ScenePresence avatar) 258 ForEachScenePresence(delegate(ScenePresence avatar)
259 { 259 {
260 avatar.Kick("The region is going down.");
260 avatar.ControllingClient.Stop(); 261 avatar.ControllingClient.Stop();
261 }); 262 });
262 263
@@ -638,7 +639,7 @@ namespace OpenSim.Region.Environment.Scenes
638 { 639 {
639 640
640 // What we're *supposed* to do is raytrace from the camera position given by the client to the nearest collision 641 // What we're *supposed* to do is raytrace from the camera position given by the client to the nearest collision
641 // in the direction the client supplies (the ground level that we clicked) 642 // in the direction the client supplies (the ground level that we clicked)
642 // This function is pretty crappy right now.. so we're not affecting where the newly rezzed objects go 643 // This function is pretty crappy right now.. so we're not affecting where the newly rezzed objects go
643 // Test it if you like. The console will write where it guesses a collision took place. if it thinks one did. 644 // Test it if you like. The console will write where it guesses a collision took place. if it thinks one did.
644 // It's wrong many times though. 645 // It's wrong many times though.