mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
dont find parts of groups marked as Deleted
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user