mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Don't fart when deserializing a prim with no ParentGroup set yet
This commit is contained in:
@@ -132,7 +132,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
HasInventoryChanged = true;
|
||||
m_part.ParentGroup.HasGroupChanged = true;
|
||||
if (m_part.ParentGroup != null)
|
||||
{
|
||||
m_part.ParentGroup.HasGroupChanged = true;
|
||||
}
|
||||
|
||||
IList<TaskInventoryItem> items = new List<TaskInventoryItem>(Items.Values);
|
||||
Items.Clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user