Merge commit 'a6c5e00c45b3d64b4e912a65c8ed7f31eb643759' into bigmerge
commit
3657cd436c
|
@ -107,6 +107,8 @@ namespace OpenSim.Services.GridService
|
||||||
public string RegisterRegion(UUID scopeID, GridRegion regionInfos)
|
public string RegisterRegion(UUID scopeID, GridRegion regionInfos)
|
||||||
{
|
{
|
||||||
IConfig gridConfig = m_config.Configs["GridService"];
|
IConfig gridConfig = m_config.Configs["GridService"];
|
||||||
|
// First Check for invalidate NULL-UUID, if true fast quit
|
||||||
|
if (regionInfos.RegionID == UUID.Zero) return "Invalidate RegionID - can not be UUID-NULL";
|
||||||
// This needs better sanity testing. What if regionInfo is registering in
|
// This needs better sanity testing. What if regionInfo is registering in
|
||||||
// overlapping coords?
|
// overlapping coords?
|
||||||
RegionData region = m_Database.Get(regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID);
|
RegionData region = m_Database.Get(regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID);
|
||||||
|
|
Loading…
Reference in New Issue