Try to make the test pass again

0.6.1-post-fixes
Melanie Thielker 2008-11-14 17:53:58 +00:00
parent edee11ff87
commit 9960637545
2 changed files with 2 additions and 2 deletions

View File

@ -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));
} }

View File

@ -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);