mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
MessageServer gets the agent position (positionx/y/z) as float, not as int in
the login_to_simulator message. Changed parsing accordingly (#2190).
This commit is contained in:
@@ -453,9 +453,9 @@ namespace OpenSim.Grid.MessagingServer
|
||||
else
|
||||
{
|
||||
agentData.startpos =
|
||||
new Vector3(Convert.ToUInt32(requestData["positionx"]),
|
||||
Convert.ToUInt32(requestData["positiony"]),
|
||||
Convert.ToUInt32(requestData["positionz"]));
|
||||
new Vector3(Convert.ToSingle(requestData["positionx"]),
|
||||
Convert.ToSingle(requestData["positiony"]),
|
||||
Convert.ToSingle(requestData["positionz"]));
|
||||
agentData.child = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user