aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 2de439b..a9a5c8a 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -132,7 +132,11 @@ namespace OpenSim.Region.Framework.Scenes
132 } 132 }
133 133
134 HasInventoryChanged = true; 134 HasInventoryChanged = true;
135 m_part.ParentGroup.HasGroupChanged = true; 135 if (m_part.ParentGroup != null)
136 {
137 m_part.ParentGroup.HasGroupChanged = true;
138 }
139
136 IList<TaskInventoryItem> items = new List<TaskInventoryItem>(Items.Values); 140 IList<TaskInventoryItem> items = new List<TaskInventoryItem>(Items.Values);
137 Items.Clear(); 141 Items.Clear();
138 142