diff options
author | MW | 2008-03-28 14:59:52 +0000 |
---|---|---|
committer | MW | 2008-03-28 14:59:52 +0000 |
commit | ac27d9250d9c5b657357bd34e891c9ae23885d72 (patch) | |
tree | 26ef390e2267ac94738a6181686db169cb6c4b0d | |
parent | * Introduced common abstract AssetDataBase implementing IAssetProvider (diff) | |
download | opensim-SC_OLD-ac27d9250d9c5b657357bd34e891c9ae23885d72.zip opensim-SC_OLD-ac27d9250d9c5b657357bd34e891c9ae23885d72.tar.gz opensim-SC_OLD-ac27d9250d9c5b657357bd34e891c9ae23885d72.tar.bz2 opensim-SC_OLD-ac27d9250d9c5b657357bd34e891c9ae23885d72.tar.xz |
attempt to fix mantis # 779.
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 364d3c7..b8a4831 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2265,8 +2265,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
2265 | { | 2265 | { |
2266 | 2266 | ||
2267 | // Tell the object to do permission update | 2267 | // Tell the object to do permission update |
2268 | SceneObjectGroup chObjectGroup = GetGroupByPrim(localId); | 2268 | if (localId != 0) |
2269 | chObjectGroup.UpdatePermissions(agentID, field, localId, mask, set); | 2269 | { |
2270 | SceneObjectGroup chObjectGroup = GetGroupByPrim(localId); | ||
2271 | if (chObjectGroup != null) | ||
2272 | { | ||
2273 | chObjectGroup.UpdatePermissions(agentID, field, localId, mask, set); | ||
2274 | } | ||
2275 | } | ||
2270 | 2276 | ||
2271 | } | 2277 | } |
2272 | } | 2278 | } |