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
|
else
|
||||||
{
|
{
|
||||||
agentData.startpos =
|
agentData.startpos =
|
||||||
new Vector3(Convert.ToUInt32(requestData["positionx"]),
|
new Vector3(Convert.ToSingle(requestData["positionx"]),
|
||||||
Convert.ToUInt32(requestData["positiony"]),
|
Convert.ToSingle(requestData["positiony"]),
|
||||||
Convert.ToUInt32(requestData["positionz"]));
|
Convert.ToSingle(requestData["positionz"]));
|
||||||
agentData.child = false;
|
agentData.child = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue