diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index a99e6c7..fe1e218 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1930,7 +1930,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1930 | foreach (uint localId in startedColliders) | 1930 | foreach (uint localId in startedColliders) |
1931 | { | 1931 | { |
1932 | if (localId == 0) | 1932 | if (localId == 0) |
1933 | return; | 1933 | continue; |
1934 | // always running this check because if the user deletes the object it would return a null reference. | 1934 | // always running this check because if the user deletes the object it would return a null reference. |
1935 | if (m_parentGroup == null) | 1935 | if (m_parentGroup == null) |
1936 | return; | 1936 | return; |
@@ -2066,7 +2066,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2066 | { | 2066 | { |
2067 | // always running this check because if the user deletes the object it would return a null reference. | 2067 | // always running this check because if the user deletes the object it would return a null reference. |
2068 | if (localId == 0) | 2068 | if (localId == 0) |
2069 | return; | 2069 | continue; |
2070 | 2070 | ||
2071 | if (m_parentGroup == null) | 2071 | if (m_parentGroup == null) |
2072 | return; | 2072 | return; |
@@ -2198,7 +2198,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2198 | foreach (uint localId in endedColliders) | 2198 | foreach (uint localId in endedColliders) |
2199 | { | 2199 | { |
2200 | if (localId == 0) | 2200 | if (localId == 0) |
2201 | return; | 2201 | continue; |
2202 | 2202 | ||
2203 | // always running this check because if the user deletes the object it would return a null reference. | 2203 | // always running this check because if the user deletes the object it would return a null reference. |
2204 | if (m_parentGroup == null) | 2204 | if (m_parentGroup == null) |
@@ -3205,6 +3205,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3205 | } | 3205 | } |
3206 | } | 3206 | } |
3207 | 3207 | ||
3208 | /// <summary> | ||
3209 | /// Set the events that this part will pass on to listeners. | ||
3210 | /// </summary> | ||
3211 | /// <param name="scriptid"></param> | ||
3212 | /// <param name="events"></param> | ||
3208 | public void SetScriptEvents(UUID scriptid, int events) | 3213 | public void SetScriptEvents(UUID scriptid, int events) |
3209 | { | 3214 | { |
3210 | // scriptEvents oldparts; | 3215 | // scriptEvents oldparts; |