diff options
author | Melanie | 2012-09-07 19:49:46 +0100 |
---|---|---|
committer | Melanie | 2012-09-07 19:49:46 +0100 |
commit | 924df14c5e15185e14c144164dd80d9859d5c583 (patch) | |
tree | 110f0e402b879f49943ff2e76598e2241e20057c /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Revert "made setting rotation match Second Life" (diff) | |
parent | Move addin attributes to RegionCombinerModule.addin.xml (diff) | |
download | opensim-SC_OLD-924df14c5e15185e14c144164dd80d9859d5c583.zip opensim-SC_OLD-924df14c5e15185e14c144164dd80d9859d5c583.tar.gz opensim-SC_OLD-924df14c5e15185e14c144164dd80d9859d5c583.tar.bz2 opensim-SC_OLD-924df14c5e15185e14c144164dd80d9859d5c583.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
OpenSim/Framework/Servers/VersionInfo.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 8fb6c3b..d94d5ef 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4811,6 +4811,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
4811 | } | 4811 | } |
4812 | 4812 | ||
4813 | /// <summary> | 4813 | /// <summary> |
4814 | /// Attempt to get the SOG via its UUID | ||
4815 | /// </summary> | ||
4816 | /// <param name="fullID"></param> | ||
4817 | /// <param name="sog"></param> | ||
4818 | /// <returns></returns> | ||
4819 | public bool TryGetSceneObjectGroup(UUID fullID, out SceneObjectGroup sog) | ||
4820 | { | ||
4821 | sog = GetSceneObjectGroup(fullID); | ||
4822 | return sog != null; | ||
4823 | } | ||
4824 | |||
4825 | /// <summary> | ||
4814 | /// Get a prim by name from the scene (will return the first | 4826 | /// Get a prim by name from the scene (will return the first |
4815 | /// found, if there are more than one prim with the same name) | 4827 | /// found, if there are more than one prim with the same name) |
4816 | /// </summary> | 4828 | /// </summary> |
@@ -4842,6 +4854,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
4842 | } | 4854 | } |
4843 | 4855 | ||
4844 | /// <summary> | 4856 | /// <summary> |
4857 | /// Attempt to get a prim via its UUID | ||
4858 | /// </summary> | ||
4859 | /// <param name="fullID"></param> | ||
4860 | /// <param name="sop"></param> | ||
4861 | /// <returns></returns> | ||
4862 | public bool TryGetSceneObjectPart(UUID fullID, out SceneObjectPart sop) | ||
4863 | { | ||
4864 | sop = GetSceneObjectPart(fullID); | ||
4865 | return sop != null; | ||
4866 | } | ||
4867 | |||
4868 | /// <summary> | ||
4845 | /// Get a scene object group that contains the prim with the given local id | 4869 | /// Get a scene object group that contains the prim with the given local id |
4846 | /// </summary> | 4870 | /// </summary> |
4847 | /// <param name="localID"></param> | 4871 | /// <param name="localID"></param> |