Merge branch 'master' into careminster

Conflicts:
	OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
avinationmerge
Melanie 2012-05-15 21:19:06 +01:00
commit a36c487c79
1 changed files with 4 additions and 1 deletions

View File

@ -2567,7 +2567,7 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
if ((ParentGroup.RootPart.ScriptEvents & scriptEvents.collision_start) != 0)
if ((ParentGroup.RootPart.ScriptEvents & ev) != 0)
sendToRoot = true;
}
if (sendToRoot && ParentGroup.RootPart != this)
@ -4708,6 +4708,9 @@ namespace OpenSim.Region.Framework.Scenes
public void aggregateScriptEvents()
{
if (ParentGroup == null || ParentGroup.RootPart == null)
return;
AggregateScriptEvents = 0;
// Aggregate script events