Some more work on SceneObject/ Primitive rewrites (slowly getting there)

This commit is contained in:
MW
2007-08-02 16:40:50 +00:00
parent 5fa0821531
commit 5c28f3c3a2
2 changed files with 127 additions and 11 deletions

View File

@@ -107,6 +107,41 @@ namespace OpenSim.Region.Environment.Scenes
return null;
}
/// <summary>
/// Does this group contain the child prim
/// should be able to remove these methods once we have a entity index in scene
/// </summary>
/// <param name="primID"></param>
/// <returns></returns>
public bool HasChildPrim(LLUUID primID)
{
AllNewSceneObjectPart2 childPart = null;
if (this.m_parts.ContainsKey(primID))
{
childPart = this.m_parts[primID];
return true;
}
return false;
}
/// <summary>
/// Does this group contain the child prim
/// should be able to remove these methods once we have a entity index in scene
/// </summary>
/// <param name="localID"></param>
/// <returns></returns>
public bool HasChildPrim(uint localID)
{
foreach (AllNewSceneObjectPart2 part in this.m_parts.Values)
{
if (part.LocalID == localID)
{
return true;
}
}
return false;
}
public void TriggerTainted()
{
if (OnPrimCountTainted != null)