mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
GridService - Region UUID can not be NULL
http://opensimulator.org/mantis/view.php?id=3426
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
29660fe175
commit
a6c5e00c45
@@ -107,6 +107,8 @@ namespace OpenSim.Services.GridService
|
||||
public string RegisterRegion(UUID scopeID, GridRegion regionInfos)
|
||||
{
|
||||
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
|
||||
// overlapping coords?
|
||||
RegionData region = m_Database.Get(regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID);
|
||||
|
||||
Reference in New Issue
Block a user