MessageServer gets the agent position (positionx/y/z) as float, not as int in
the login_to_simulator message. Changed parsing accordingly (#2190).0.6.0-stable
parent
2819559499
commit
d7d1bee4a7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue