mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Update svn properties, minor formatting cleanup.
This commit is contained in:
@@ -1256,14 +1256,14 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
TaskInventoryItem currentItem = part.GetInventoryItem(itemID);
|
||||
bool allowInventoryDrop = (part.GetEffectiveObjectFlags()
|
||||
& (uint)PrimFlags.AllowInventoryDrop) != 0;
|
||||
& (uint)PrimFlags.AllowInventoryDrop) != 0;
|
||||
|
||||
// Explicity allow anyone to add to the inventory if the
|
||||
// AllowInventoryDrop flag has been set. Don't however let
|
||||
// them update an item unless they pass the external checks
|
||||
//
|
||||
if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId)
|
||||
&& (currentItem != null || !allowInventoryDrop ))
|
||||
&& (currentItem != null || !allowInventoryDrop))
|
||||
return;
|
||||
|
||||
if (currentItem == null)
|
||||
|
||||
@@ -184,7 +184,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
// taskItem.SalePrice = item.SalePrice;
|
||||
// taskItem.SaleType = item.SaleType;
|
||||
taskItem.CreationDate = (uint)item.CreationDate;
|
||||
|
||||
|
||||
bool addFromAllowedDrop = false;
|
||||
if (remoteClient!=null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user