diff options
author | UbitUmarov | 2012-05-28 13:13:01 +0100 |
---|---|---|
committer | UbitUmarov | 2012-05-28 13:13:01 +0100 |
commit | 5141f4075f0f28f24d9528ae8770b8ede56e319f (patch) | |
tree | 40c049175c660ea39c355078a45d96e6eca16453 /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |
parent | disable collision sounds for now (diff) | |
parent | Place the return back into collision sounds. (diff) | |
download | opensim-SC-5141f4075f0f28f24d9528ae8770b8ede56e319f.zip opensim-SC-5141f4075f0f28f24d9528ae8770b8ede56e319f.tar.gz opensim-SC-5141f4075f0f28f24d9528ae8770b8ede56e319f.tar.bz2 opensim-SC-5141f4075f0f28f24d9528ae8770b8ede56e319f.tar.xz |
Merge branch 'avination' into ubitwork
Conflicts:
OpenSim/Region/Framework/Scenes/CollisionSounds.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 49a8e64..9e72a98 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1673,16 +1673,25 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1673 | Hashtable responseData = (Hashtable)response.Value; | 1673 | Hashtable responseData = (Hashtable)response.Value; |
1674 | Hashtable requestData = (Hashtable)request.Params[0]; | 1674 | Hashtable requestData = (Hashtable)request.Params[0]; |
1675 | 1675 | ||
1676 | int flags = 0; | ||
1677 | string text = String.Empty; | ||
1678 | int health = 0; | ||
1676 | responseData["success"] = true; | 1679 | responseData["success"] = true; |
1677 | 1680 | ||
1678 | CheckRegionParams(requestData, responseData); | 1681 | CheckRegionParams(requestData, responseData); |
1679 | 1682 | ||
1680 | Scene scene = null; | 1683 | Scene scene = null; |
1681 | GetSceneFromRegionParams(requestData, responseData, out scene); | 1684 | try |
1685 | { | ||
1686 | GetSceneFromRegionParams(requestData, responseData, out scene); | ||
1687 | health = scene.GetHealth(out flags, out text); | ||
1688 | } | ||
1689 | catch (Exception e) | ||
1690 | { | ||
1691 | responseData["error"] = null; | ||
1692 | } | ||
1682 | 1693 | ||
1683 | int flags; | 1694 | responseData["success"] = true; |
1684 | string text; | ||
1685 | int health = scene.GetHealth(out flags, out text); | ||
1686 | responseData["health"] = health; | 1695 | responseData["health"] = health; |
1687 | responseData["flags"] = flags; | 1696 | responseData["flags"] = flags; |
1688 | responseData["message"] = text; | 1697 | responseData["message"] = text; |