From 93da1c2e94837ec9ea5e8e038e9b5450d1a9385b Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Tue, 2 Jun 2009 20:56:27 +0000 Subject: [PATCH] Thank you kindly, jonc, for a patch that: Grid mode only. Serialization and deserialization of byte representing Access Level is failing unless byte is ToString'd first on Grid Server. --- OpenSim/Grid/GridServer.Modules/GridXmlRpcModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Grid/GridServer.Modules/GridXmlRpcModule.cs b/OpenSim/Grid/GridServer.Modules/GridXmlRpcModule.cs index 98d6adb9ab..854e66aba9 100644 --- a/OpenSim/Grid/GridServer.Modules/GridXmlRpcModule.cs +++ b/OpenSim/Grid/GridServer.Modules/GridXmlRpcModule.cs @@ -739,7 +739,7 @@ namespace OpenSim.Grid.GridServer.Modules simProfileBlock["y"] = aSim.regionLocY.ToString(); //m_log.DebugFormat("[MAP]: Sending neighbour info for {0},{1}", aSim.regionLocX, aSim.regionLocY); simProfileBlock["name"] = aSim.regionName; - simProfileBlock["access"] = aSim.AccessLevel; + simProfileBlock["access"] = aSim.AccessLevel.ToString(); simProfileBlock["region-flags"] = 512; simProfileBlock["water-height"] = 0; simProfileBlock["agents"] = 1; @@ -774,7 +774,7 @@ namespace OpenSim.Grid.GridServer.Modules simProfileBlock["x"] = x; simProfileBlock["y"] = y; simProfileBlock["name"] = simProfile.regionName; - simProfileBlock["access"] = simProfile.AccessLevel; + simProfileBlock["access"] = simProfile.AccessLevel.ToString(); simProfileBlock["region-flags"] = 0; simProfileBlock["water-height"] = 20; simProfileBlock["agents"] = 1;