From 25ec01311d5c2b96f5ba5e5f1718166009912d18 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 7 Dec 2007 18:20:34 +0000 Subject: * Serialized data properly for the InterRegionSingleton InformRegionChild method * This isn't really that big of a deal(worth lots of commits) doing this, however I'm doing it in small chunks because I'm multi-tasking. --- OpenSim/Framework/AgentCircuitData.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index 2c3a8ba..ddaaaf9 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs @@ -40,7 +40,7 @@ namespace OpenSim.Framework AgentID = new LLUUID(cAgent.AgentID); SessionID = new LLUUID(cAgent.SessionID); SecureSessionID = new LLUUID(cAgent.SecureSessionID); - startpos = cAgent.startpos; + startpos = new LLVector3(cAgent.startposx,cAgent.startposy,cAgent.startposz); firstname = cAgent.firstname; lastname = cAgent.lastname; circuitcode = cAgent.circuitcode; @@ -74,7 +74,9 @@ namespace OpenSim.Framework AgentID = cAgent.AgentID.UUID; SessionID = cAgent.SessionID.UUID; SecureSessionID = cAgent.SecureSessionID.UUID; - startpos = cAgent.startpos; + startposx = cAgent.startpos.X; + startposy = cAgent.startpos.Y; + startposz = cAgent.startpos.Z; firstname = cAgent.firstname; lastname = cAgent.lastname; circuitcode = cAgent.circuitcode; @@ -86,7 +88,9 @@ namespace OpenSim.Framework public Guid AgentID; public Guid SessionID; public Guid SecureSessionID; - public LLVector3 startpos; + public float startposx; + public float startposy; + public float startposz; public string firstname; public string lastname; public uint circuitcode; -- cgit v1.1