diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs index 90a13a7..d781eae 100644 --- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | |||
@@ -114,6 +114,15 @@ namespace OpenSim.Region.Framework.Interfaces | |||
114 | void DetachSingleAttachmentToGround(IScenePresence sp, uint objectLocalID); | 114 | void DetachSingleAttachmentToGround(IScenePresence sp, uint objectLocalID); |
115 | 115 | ||
116 | /// <summary> | 116 | /// <summary> |
117 | /// Detach the given item to the ground at the specified coordinates & rotation | ||
118 | /// </summary> | ||
119 | /// <param name="sp"></param> | ||
120 | /// <param name="objectLocalID"></param> | ||
121 | /// <param name="absolutePos"></param> | ||
122 | /// <param name="absoluteRot"></param> | ||
123 | void DetachSingleAttachmentToGround(IScenePresence sp, uint objectLocalID, Vector3 absolutePos, Quaternion absoluteRot); | ||
124 | |||
125 | /// <summary> | ||
117 | /// Detach the given attachment so that it remains in the user's inventory. | 126 | /// Detach the given attachment so that it remains in the user's inventory. |
118 | /// </summary> | 127 | /// </summary> |
119 | /// <param name="sp">/param> | 128 | /// <param name="sp">/param> |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 29c8eb1..6e3e436 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -5958,6 +5958,9 @@ Environment.Exit(1); | |||
5958 | 5958 | ||
5959 | public void StoreExtraSetting(string name, string val) | 5959 | public void StoreExtraSetting(string name, string val) |
5960 | { | 5960 | { |
5961 | if (m_extraSettings == null) | ||
5962 | return; | ||
5963 | |||
5961 | string oldVal; | 5964 | string oldVal; |
5962 | 5965 | ||
5963 | if (m_extraSettings.TryGetValue(name, out oldVal)) | 5966 | if (m_extraSettings.TryGetValue(name, out oldVal)) |
@@ -5975,6 +5978,9 @@ Environment.Exit(1); | |||
5975 | 5978 | ||
5976 | public void RemoveExtraSetting(string name) | 5979 | public void RemoveExtraSetting(string name) |
5977 | { | 5980 | { |
5981 | if (m_extraSettings == null) | ||
5982 | return; | ||
5983 | |||
5978 | if (!m_extraSettings.ContainsKey(name)) | 5984 | if (!m_extraSettings.ContainsKey(name)) |
5979 | return; | 5985 | return; |
5980 | 5986 | ||