diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index f9eaa89..fcda37b 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1044,7 +1044,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1044 | { | 1044 | { |
1045 | foreach (SceneObjectPart part in m_parts.Values) | 1045 | foreach (SceneObjectPart part in m_parts.Values) |
1046 | { | 1046 | { |
1047 | // part.RemoveScriptInstances(); | 1047 | // part.Inventory.RemoveScriptInstances(); |
1048 | 1048 | ||
1049 | List<ScenePresence> avatars = Scene.GetScenePresences(); | 1049 | List<ScenePresence> avatars = Scene.GetScenePresences(); |
1050 | for (int i = 0; i < avatars.Count; i++) | 1050 | for (int i = 0; i < avatars.Count; i++) |
@@ -1251,7 +1251,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1251 | 1251 | ||
1252 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); | 1252 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); |
1253 | 1253 | ||
1254 | backup_group.ForEachPart(delegate(SceneObjectPart part) { part.ProcessInventoryBackup(datastore); }); | 1254 | backup_group.ForEachPart(delegate(SceneObjectPart part) { part.Inventory.ProcessInventoryBackup(datastore); }); |
1255 | 1255 | ||
1256 | backup_group = null; | 1256 | backup_group = null; |
1257 | } | 1257 | } |
@@ -2828,7 +2828,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2828 | foreach (SceneObjectPart part in m_parts.Values) | 2828 | foreach (SceneObjectPart part in m_parts.Values) |
2829 | { | 2829 | { |
2830 | part.SetGroup(GroupID, client); | 2830 | part.SetGroup(GroupID, client); |
2831 | part.ChangeInventoryGroup(GroupID); | 2831 | part.Inventory.ChangeInventoryGroup(GroupID); |
2832 | } | 2832 | } |
2833 | 2833 | ||
2834 | HasGroupChanged = true; | 2834 | HasGroupChanged = true; |