diff options
author | Melanie | 2009-12-21 15:02:57 +0000 |
---|---|---|
committer | Melanie | 2009-12-21 15:02:57 +0000 |
commit | b89129113510ddbbf23aa022a9493a3a28735a6b (patch) | |
tree | d8d275cdcf6943725e588c0b29f16c0037fb82f8 | |
parent | Merge branch 'master' into casper (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-b89129113510ddbbf23aa022a9493a3a28735a6b.zip opensim-SC_OLD-b89129113510ddbbf23aa022a9493a3a28735a6b.tar.gz opensim-SC_OLD-b89129113510ddbbf23aa022a9493a3a28735a6b.tar.bz2 opensim-SC_OLD-b89129113510ddbbf23aa022a9493a3a28735a6b.tar.xz |
Merge branch 'master' into careminster
-rw-r--r-- | OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | 40 |
2 files changed, 33 insertions, 8 deletions
diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index 7305795..42e6510 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | |||
@@ -171,6 +171,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
171 | item.NextPermissions = (uint)config.GetLong("nextPermissions", 0x7FFFFFFF); | 171 | item.NextPermissions = (uint)config.GetLong("nextPermissions", 0x7FFFFFFF); |
172 | item.EveryOnePermissions = (uint)config.GetLong("everyonePermissions", 0x7FFFFFFF); | 172 | item.EveryOnePermissions = (uint)config.GetLong("everyonePermissions", 0x7FFFFFFF); |
173 | item.BasePermissions = (uint)config.GetLong("basePermissions", 0x7FFFFFFF); | 173 | item.BasePermissions = (uint)config.GetLong("basePermissions", 0x7FFFFFFF); |
174 | item.Flags = (uint)config.GetInt("flags", 0); | ||
174 | 175 | ||
175 | if (libraryFolders.ContainsKey(item.Folder)) | 176 | if (libraryFolders.ContainsKey(item.Folder)) |
176 | { | 177 | { |
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index 1f1ebae..143c454 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -258,26 +258,50 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
258 | 258 | ||
259 | public Vector3 SitTarget | 259 | public Vector3 SitTarget |
260 | { | 260 | { |
261 | get { throw new System.NotImplementedException(); } | 261 | get { return GetSOP().SitTargetPosition; } |
262 | set { throw new System.NotImplementedException(); } | 262 | set |
263 | { | ||
264 | if (CanEdit()) | ||
265 | { | ||
266 | GetSOP().SitTargetPosition = value; | ||
267 | } | ||
268 | } | ||
263 | } | 269 | } |
264 | 270 | ||
265 | public string SitTargetText | 271 | public string SitTargetText |
266 | { | 272 | { |
267 | get { throw new System.NotImplementedException(); } | 273 | get { return GetSOP().SitName; } |
268 | set { throw new System.NotImplementedException(); } | 274 | set |
275 | { | ||
276 | if (CanEdit()) | ||
277 | { | ||
278 | GetSOP().SitName = value; | ||
279 | } | ||
280 | } | ||
269 | } | 281 | } |
270 | 282 | ||
271 | public string TouchText | 283 | public string TouchText |
272 | { | 284 | { |
273 | get { throw new System.NotImplementedException(); } | 285 | get { return GetSOP().TouchName; } |
274 | set { throw new System.NotImplementedException(); } | 286 | set |
287 | { | ||
288 | if (CanEdit()) | ||
289 | { | ||
290 | GetSOP().TouchName = value; | ||
291 | } | ||
292 | } | ||
275 | } | 293 | } |
276 | 294 | ||
277 | public string Text | 295 | public string Text |
278 | { | 296 | { |
279 | get { throw new System.NotImplementedException(); } | 297 | get { return GetSOP().Text; } |
280 | set { throw new System.NotImplementedException(); } | 298 | set |
299 | { | ||
300 | if (CanEdit()) | ||
301 | { | ||
302 | GetSOP().SetText(value,new Vector3(1.0f,1.0f,1.0f),1.0f); | ||
303 | } | ||
304 | } | ||
281 | } | 305 | } |
282 | 306 | ||
283 | public bool IsRotationLockedX | 307 | public bool IsRotationLockedX |