Guard against null root part on SQLite. This really needs to be fixed so SQLite

loads roots before children like MySQL does.
This commit is contained in:
Melanie
2012-05-15 03:16:12 +01:00
parent 069bcd45e5
commit 65e1d7b2d7

View File

@@ -4285,7 +4285,7 @@ namespace OpenSim.Region.Framework.Scenes
public void aggregateScriptEvents()
{
if (ParentGroup.RootPart == null)
if (ParentGroup == null || ParentGroup.RootPart == null)
return;
AggregateScriptEvents = 0;