- Patching a symptom of the failed WP start. We really need to find the reason

for that...
0.6.0-stable
Homer Horwitz 2008-10-11 16:58:05 +00:00
parent 44b2ecf29d
commit 628e3a9553
1 changed files with 8 additions and 1 deletions

View File

@ -239,7 +239,14 @@ namespace OpenSim.Region.Environment.Scenes
public override UUID UUID
{
get { return m_rootPart.UUID; }
get {
if (m_rootPart == null)
{
m_log.Error("Got a null rootpart while requesting UUID. Called from: ", new Exception());
return UUID.Zero;
}
else return m_rootPart.UUID;
}
set { m_rootPart.UUID = value; }
}