aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorDiva Canto2010-05-07 21:56:14 -0700
committerDiva Canto2010-05-07 21:56:14 -0700
commitbfb7a4999010eb9449cd8855236daac67a469f11 (patch)
tree344730b8642855a53a79a7793cdd34551ed6274a /OpenSim/Services/Interfaces
parentThese files are part of the GridUserService write-up. (diff)
downloadopensim-SC-bfb7a4999010eb9449cd8855236daac67a469f11.zip
opensim-SC-bfb7a4999010eb9449cd8855236daac67a469f11.tar.gz
opensim-SC-bfb7a4999010eb9449cd8855236daac67a469f11.tar.bz2
opensim-SC-bfb7a4999010eb9449cd8855236daac67a469f11.tar.xz
Fixed Presence unit test. Removed unnecessary packing/unpacking of obsolete fields.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IPresenceService.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Services/Interfaces/IPresenceService.cs b/OpenSim/Services/Interfaces/IPresenceService.cs
index 9687d22..abbae2c 100644
--- a/OpenSim/Services/Interfaces/IPresenceService.cs
+++ b/OpenSim/Services/Interfaces/IPresenceService.cs
@@ -55,10 +55,6 @@ namespace OpenSim.Services.Interfaces
55 UserID = kvp["UserID"].ToString(); 55 UserID = kvp["UserID"].ToString();
56 if (kvp.ContainsKey("RegionID")) 56 if (kvp.ContainsKey("RegionID"))
57 UUID.TryParse(kvp["RegionID"].ToString(), out RegionID); 57 UUID.TryParse(kvp["RegionID"].ToString(), out RegionID);
58 if (kvp.ContainsKey("lookAt"))
59 Vector3.TryParse(kvp["lookAt"].ToString(), out LookAt);
60 if (kvp.ContainsKey("position"))
61 Vector3.TryParse(kvp["position"].ToString(), out Position);
62 } 58 }
63 59
64 public Dictionary<string, object> ToKeyValuePairs() 60 public Dictionary<string, object> ToKeyValuePairs()
@@ -66,8 +62,6 @@ namespace OpenSim.Services.Interfaces
66 Dictionary<string, object> result = new Dictionary<string, object>(); 62 Dictionary<string, object> result = new Dictionary<string, object>();
67 result["UserID"] = UserID; 63 result["UserID"] = UserID;
68 result["RegionID"] = RegionID.ToString(); 64 result["RegionID"] = RegionID.ToString();
69 result["position"] = Position.ToString();
70 result["lookAt"] = LookAt.ToString();
71 65
72 return result; 66 return result;
73 } 67 }