mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Fix prim link numbers (Mantis #1781)
Implements additional unlink modes (unlink root prim from link set, some multi-set operations). Linking (single and mutiple) fully implemented. Consistent numbering of links while in world. Link/delink with predictable link numbering. Correct link numbers in LSL. Not all multi-set ops implemented. Link numbers still change when taken and re-rezzed.
This commit is contained in:
@@ -674,12 +674,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public int LinkNum
|
||||
{
|
||||
get { return m_linkNum; }
|
||||
set
|
||||
{
|
||||
m_linkNum = value;
|
||||
TriggerScriptChangedEvent(Changed.LINK);
|
||||
|
||||
}
|
||||
set { m_linkNum = value; }
|
||||
}
|
||||
|
||||
public byte ClickAction
|
||||
@@ -2250,7 +2245,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public void SetAvatarOnSitTarget(LLUUID avatarID)
|
||||
{
|
||||
m_sitTargetAvatar = avatarID;
|
||||
TriggerScriptChangedEvent(Changed.LINK);
|
||||
if(ParentGroup != null)
|
||||
ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
|
||||
}
|
||||
|
||||
public void SetAxisRotation(int axis, int rotate)
|
||||
@@ -3294,4 +3290,4 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user