minor: remove redundant grp != null check from AM.UpdateKnownItem()
parent
8880aea728
commit
62b3e74bc5
|
@ -706,8 +706,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||||
/// <param name="itemID"></param>
|
/// <param name="itemID"></param>
|
||||||
/// <param name="agentID"></param>
|
/// <param name="agentID"></param>
|
||||||
public void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
|
public void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
|
||||||
{
|
|
||||||
if (grp != null)
|
|
||||||
{
|
{
|
||||||
if (grp.HasGroupChanged || grp.ContainsScripts())
|
if (grp.HasGroupChanged || grp.ContainsScripts())
|
||||||
{
|
{
|
||||||
|
@ -750,7 +748,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||||
grp.UUID, grp.AttachmentPoint);
|
grp.UUID, grp.AttachmentPoint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attach this scene object to the given avatar.
|
/// Attach this scene object to the given avatar.
|
||||||
|
|
Loading…
Reference in New Issue