diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 20a2abc..9b66fad 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1588,9 +1588,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1588 | 1588 | ||
1589 | public void aggregateScriptEvents() | 1589 | public void aggregateScriptEvents() |
1590 | { | 1590 | { |
1591 | uint objectflagupdate=(uint)RootPart.GetEffectiveObjectFlags(); | 1591 | PrimFlags objectflagupdate = (PrimFlags)RootPart.GetEffectiveObjectFlags(); |
1592 | 1592 | ||
1593 | scriptEvents aggregateScriptEvents=0; | 1593 | scriptEvents aggregateScriptEvents = 0; |
1594 | 1594 | ||
1595 | lockPartsForRead(true); | 1595 | lockPartsForRead(true); |
1596 | { | 1596 | { |
@@ -1600,7 +1600,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1600 | if (part == null) | 1600 | if (part == null) |
1601 | continue; | 1601 | continue; |
1602 | if (part != RootPart) | 1602 | if (part != RootPart) |
1603 | part.ObjectFlags = objectflagupdate; | 1603 | part.Flags = objectflagupdate; |
1604 | aggregateScriptEvents |= part.AggregateScriptEvents; | 1604 | aggregateScriptEvents |= part.AggregateScriptEvents; |
1605 | 1605 | ||
1606 | } | 1606 | } |