Try to make the test pass again
parent
edee11ff87
commit
9960637545
|
@ -594,7 +594,7 @@ namespace OpenSim.Data.Tests
|
||||||
// Ownership changes when you drop an object into an object
|
// Ownership changes when you drop an object into an object
|
||||||
// owned by someone else
|
// owned by someone else
|
||||||
Assert.That(t.OwnerID,Is.EqualTo(sog.RootPart.OwnerID));
|
Assert.That(t.OwnerID,Is.EqualTo(sog.RootPart.OwnerID));
|
||||||
Assert.That(t.CurrentPermissions, Is.EqualTo(curperm));
|
Assert.That(t.CurrentPermissions, Is.EqualTo(curperm | 8));
|
||||||
Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID));
|
Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID));
|
||||||
Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID));
|
Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID));
|
||||||
}
|
}
|
||||||
|
|
|
@ -185,7 +185,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
bool addFromAllowedDrop = false;
|
bool addFromAllowedDrop = false;
|
||||||
if (remoteClient!=null)
|
if (remoteClient!=null)
|
||||||
{
|
{
|
||||||
addFromAllowedDrop = remoteClient.AgentId!=part.OwnerID;
|
addFromAllowedDrop = remoteClient.AgentId != part.OwnerID;
|
||||||
}
|
}
|
||||||
|
|
||||||
part.AddInventoryItem(taskItem, addFromAllowedDrop);
|
part.AddInventoryItem(taskItem, addFromAllowedDrop);
|
||||||
|
|
Loading…
Reference in New Issue