mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Try to make the test pass again
This commit is contained in:
@@ -594,7 +594,7 @@ namespace OpenSim.Data.Tests
|
||||
// Ownership changes when you drop an object into an object
|
||||
// owned by someone else
|
||||
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.ParentPartID,Is.EqualTo(sog.RootPart.UUID));
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
bool addFromAllowedDrop = false;
|
||||
if (remoteClient!=null)
|
||||
{
|
||||
addFromAllowedDrop = remoteClient.AgentId!=part.OwnerID;
|
||||
addFromAllowedDrop = remoteClient.AgentId != part.OwnerID;
|
||||
}
|
||||
|
||||
part.AddInventoryItem(taskItem, addFromAllowedDrop);
|
||||
|
||||
Reference in New Issue
Block a user