silly bug
parent
51bc19f1ab
commit
a2c7a13065
|
@ -342,7 +342,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
return;
|
return;
|
||||||
|
|
||||||
SceneObjectPart[] parts = sceneObject.Parts;
|
SceneObjectPart[] parts = sceneObject.Parts;
|
||||||
for (int i = 0; i < parts.Length; i++)
|
for (int i = 0; i < parts.Length; ++i)
|
||||||
{
|
{
|
||||||
SceneObjectPart part = parts[i];
|
SceneObjectPart part = parts[i];
|
||||||
|
|
||||||
|
@ -399,10 +399,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
List<TaskInventoryItem> items = part.TaskInventory.GetItems();
|
List<TaskInventoryItem> items = part.TaskInventory.GetItems();
|
||||||
// Now analyze this prim's inventory items to preserve all the uuids that they reference
|
// Now analyze this prim's inventory items to preserve all the uuids that they reference
|
||||||
for(i = 0; i < items.Count; ++i)
|
for(int j = 0; j < items.Count; ++j)
|
||||||
{
|
{
|
||||||
TaskInventoryItem tii = items[i];
|
TaskInventoryItem tii = items[j];
|
||||||
items[i] = null; // gc is stupid
|
items[j] = null; // gc is stupid
|
||||||
AddForInspection(tii.AssetID, (sbyte)tii.Type);
|
AddForInspection(tii.AssetID, (sbyte)tii.Type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue