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

loads roots before children like MySQL does.
0.7.4.1
Melanie 2012-05-15 03:16:12 +01:00
parent 069bcd45e5
commit 65e1d7b2d7
1 changed files with 1 additions and 1 deletions

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;