* Refactor: Remove some unused methods in Scene/InnerScene

0.6.0-stable
Justin Clarke Casey 2008-05-24 22:48:21 +00:00
parent f3067ce6f9
commit 10564469c8
2 changed files with 0 additions and 26 deletions

View File

@ -286,27 +286,6 @@ namespace OpenSim.Region.Environment.Scenes
{
m_activeScripts += number;
}
public void RemovePrim(uint localID, LLUUID avatar_deleter)
{
List<EntityBase> EntityList = GetEntities();
foreach (EntityBase obj in EntityList)
{
if (obj is SceneObjectGroup)
{
if (((SceneObjectGroup)obj).LocalId == localID)
{
if (m_parentScene.ExternalChecks.ExternalChecksCanDeleteObject(((SceneObjectGroup)obj).UUID, avatar_deleter))
{
m_parentScene.RemoveSceneObject((SceneObjectGroup)obj);
m_numPrim--;
}
return;
}
}
}
}
public void DetachObject(uint objectLocalID, IClientAPI remoteClient)
{

View File

@ -1319,11 +1319,6 @@ namespace OpenSim.Region.Environment.Scenes
return AddNewPrim(uuid, position, rotation, treeShape);
}
public void RemovePrim(uint localID, LLUUID avatar_deleter)
{
m_innerScene.RemovePrim(localID, avatar_deleter);
}
/// <summary>
/// Add an object into the scene that has come from storage
/// </summary>