this is probably just a band aid, but should at least
help figure out where my last crash came from by being extra careful arround Add for scene object group.0.6.0-stable
parent
390298ed40
commit
92e54bdd17
|
@ -1635,9 +1635,15 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// <param name="part"></param>
|
/// <param name="part"></param>
|
||||||
public void AddPart(SceneObjectPart part)
|
public void AddPart(SceneObjectPart part)
|
||||||
{
|
{
|
||||||
part.SetParent(this);
|
lock (m_parts) {
|
||||||
part.LinkNum = m_parts.Count;
|
part.SetParent(this);
|
||||||
m_parts.Add(part.UUID, part);
|
part.LinkNum = m_parts.Count;
|
||||||
|
try {
|
||||||
|
m_parts.Add(part.UUID, part);
|
||||||
|
} catch (Exception e) {
|
||||||
|
m_log.Error("Failed to add scened object part", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue