adding utility method for getting SceneObjectPart from scene
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>0.7.4-extended
							parent
							
								
									351daf90f1
								
							
						
					
					
						commit
						b738b50cd6
					
				|  | @ -4579,6 +4579,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
|             return m_sceneGraph.GetSceneObjectPart(fullID); | ||||
|         } | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Attempt to get a prim via its UUID | ||||
|         /// </summary> | ||||
|         /// <param name="fullID"></param> | ||||
|         /// <param name="sop"></param> | ||||
|         /// <returns></returns> | ||||
|         public bool TryGetSceneObjectPart(UUID fullID, out SceneObjectPart sop) | ||||
|         { | ||||
|             sop = GetSceneObjectPart(fullID); | ||||
|             return sop != null; | ||||
|         } | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Get a scene object group that contains the prim with the given local id | ||||
|         /// </summary> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 SignpostMarv
						SignpostMarv