mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fix issue where loading OARs could sometimes result in link numbers being reordered.
This was because the parts in scene objects were sometimes not serialized in link order. This is perfectly fine since the parts still have the right link numbers, but an extra fix to adjust for this had not been done in the SerialiserModule methods that OAR loading used. Add regression test for same. Addresses http://opensimulator.org/mantis/view.php?id=5948, http://opensimulator.org/mantis/view.php?id=5749
This commit is contained in:
@@ -932,7 +932,18 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public int LinkNum
|
||||
{
|
||||
get { return m_linkNum; }
|
||||
set { m_linkNum = value; }
|
||||
set
|
||||
{
|
||||
// if (ParentGroup != null)
|
||||
// {
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE OBJECT PART]: Setting linknum of {0}@{1} to {2} from {3}",
|
||||
// Name, AbsolutePosition, value, m_linkNum);
|
||||
// Util.PrintCallStack();
|
||||
// }
|
||||
|
||||
m_linkNum = value;
|
||||
}
|
||||
}
|
||||
|
||||
public byte ClickAction
|
||||
|
||||
Reference in New Issue
Block a user