dont find parts of groups marked as Deleted
parent
99ecf522cd
commit
ca4b7efd0f
|
@ -1171,7 +1171,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
protected internal SceneObjectPart GetSceneObjectPart(uint localID)
|
||||
{
|
||||
SceneObjectGroup group = GetGroupByPrim(localID);
|
||||
if (group == null)
|
||||
if (group == null || group.IsDeleted)
|
||||
return null;
|
||||
return group.GetPart(localID);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue