aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHomer Horwitz2008-09-14 13:57:25 +0000
committerHomer Horwitz2008-09-14 13:57:25 +0000
commitd7d1bee4a791749b388bd5088974a6be03a87be8 (patch)
tree1667bdf35b2fda50645139c26f51560eb599d3a5
parentMantis #2124 (diff)
downloadopensim-SC-d7d1bee4a791749b388bd5088974a6be03a87be8.zip
opensim-SC-d7d1bee4a791749b388bd5088974a6be03a87be8.tar.gz
opensim-SC-d7d1bee4a791749b388bd5088974a6be03a87be8.tar.bz2
opensim-SC-d7d1bee4a791749b388bd5088974a6be03a87be8.tar.xz
MessageServer gets the agent position (positionx/y/z) as float, not as int in
the login_to_simulator message. Changed parsing accordingly (#2190).
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/MessagingServer/MessageService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Grid/MessagingServer/MessageService.cs b/OpenSim/Grid/MessagingServer/MessageService.cs
index 1c5d334..27892df 100644
--- a/OpenSim/Grid/MessagingServer/MessageService.cs
+++ b/OpenSim/Grid/MessagingServer/MessageService.cs
@@ -453,9 +453,9 @@ namespace OpenSim.Grid.MessagingServer
453 else 453 else
454 { 454 {
455 agentData.startpos = 455 agentData.startpos =
456 new Vector3(Convert.ToUInt32(requestData["positionx"]), 456 new Vector3(Convert.ToSingle(requestData["positionx"]),
457 Convert.ToUInt32(requestData["positiony"]), 457 Convert.ToSingle(requestData["positiony"]),
458 Convert.ToUInt32(requestData["positionz"])); 458 Convert.ToSingle(requestData["positionz"]));
459 agentData.child = false; 459 agentData.child = false;
460 } 460 }
461 461