aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-06-06 12:51:20 +0000
committerTeravus Ovares2008-06-06 12:51:20 +0000
commitc892ddcd2031466499ade7b101ba007d920af2fb (patch)
treefbf29835d4ec29011be02704e85d641bd333cd57 /OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs
parent* Fixes incorrect message server startup prompt (diff)
downloadopensim-SC_OLD-c892ddcd2031466499ade7b101ba007d920af2fb.zip
opensim-SC_OLD-c892ddcd2031466499ade7b101ba007d920af2fb.tar.gz
opensim-SC_OLD-c892ddcd2031466499ade7b101ba007d920af2fb.tar.bz2
opensim-SC_OLD-c892ddcd2031466499ade7b101ba007d920af2fb.tar.xz
* This wraps the autopilot request to the client's sit response. An interesting, but successful way to do it.
* This also takes care of a few error situations that were previously never seen.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs b/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs
index 47dd0bc..eac9e25 100644
--- a/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs
@@ -62,6 +62,9 @@ namespace OpenSim.Region.Environment.Scenes
62 public uint ExternalChecksGenerateClientFlags(LLUUID userID, LLUUID objectID) 62 public uint ExternalChecksGenerateClientFlags(LLUUID userID, LLUUID objectID)
63 { 63 {
64 SceneObjectPart part=m_scene.GetSceneObjectPart(objectID); 64 SceneObjectPart part=m_scene.GetSceneObjectPart(objectID);
65
66 if (part == null)
67 return 0;
65 68
66 uint perms=part.GetEffectiveObjectFlags() | 69 uint perms=part.GetEffectiveObjectFlags() |
67 (uint)LLObject.ObjectFlags.ObjectModify | 70 (uint)LLObject.ObjectFlags.ObjectModify |