aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server
diff options
context:
space:
mode:
authorMelanie Thielker2015-08-20 00:40:49 +0200
committerMelanie Thielker2015-08-20 00:40:49 +0200
commit17e920aacd800cf8f81ac705c5047723434fe974 (patch)
treea8f3cdabebcb687db023191a77bc747f6aa34089 /OpenSim/Server
parentFix multiple moving_end and add moving_start to llSetKeyframedMotion (diff)
downloadopensim-SC-17e920aacd800cf8f81ac705c5047723434fe974.zip
opensim-SC-17e920aacd800cf8f81ac705c5047723434fe974.tar.gz
opensim-SC-17e920aacd800cf8f81ac705c5047723434fe974.tar.bz2
opensim-SC-17e920aacd800cf8f81ac705c5047723434fe974.tar.xz
More plumbing on agent states
Diffstat (limited to 'OpenSim/Server')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index 68cec4b..e7544b5 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -174,6 +174,12 @@ namespace OpenSim.Server.Handlers.Simulation
174 resp["reason"] = OSD.FromString(reason); 174 resp["reason"] = OSD.FromString(reason);
175 resp["version"] = OSD.FromString(version); 175 resp["version"] = OSD.FromString(version);
176 176
177 OSDArray featuresWanted = new OSDArray();
178 foreach (UUID feature in features)
179 featuresWanted.Add(OSD.FromString(feature.ToString()));
180
181 resp["features"] = featuresWanted;
182
177 // We must preserve defaults here, otherwise a false "success" will not be put into the JSON map! 183 // We must preserve defaults here, otherwise a false "success" will not be put into the JSON map!
178 responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp, true); 184 responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp, true);
179 185