aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMW2008-03-28 14:59:52 +0000
committerMW2008-03-28 14:59:52 +0000
commitac27d9250d9c5b657357bd34e891c9ae23885d72 (patch)
tree26ef390e2267ac94738a6181686db169cb6c4b0d /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Introduced common abstract AssetDataBase implementing IAssetProvider (diff)
downloadopensim-SC-ac27d9250d9c5b657357bd34e891c9ae23885d72.zip
opensim-SC-ac27d9250d9c5b657357bd34e891c9ae23885d72.tar.gz
opensim-SC-ac27d9250d9c5b657357bd34e891c9ae23885d72.tar.bz2
opensim-SC-ac27d9250d9c5b657357bd34e891c9ae23885d72.tar.xz
attempt to fix mantis # 779.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
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 }