mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Eliminate duplicate AttachmentPoint properties by always using the one stored in the root part's state field.
This commit is contained in:
@@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
|
||||
if (grp.IsAttachment)
|
||||
{
|
||||
if (grp.GetAttachmentPoint() > 30) // HUD
|
||||
if (grp.AttachmentPoint > 30) // HUD
|
||||
{
|
||||
if (sp.ControllingClient.AgentId != grp.OwnerID)
|
||||
return;
|
||||
@@ -115,7 +115,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
{
|
||||
SceneObjectGroup grp = part.ParentGroup;
|
||||
|
||||
if (grp.IsAttachment && grp.GetAttachmentPoint() > 30)
|
||||
if (grp.IsAttachment && grp.AttachmentPoint > 30)
|
||||
{
|
||||
objectID = ownerID;
|
||||
parentID = ownerID;
|
||||
|
||||
Reference in New Issue
Block a user