Update svn properties, minor formatting cleanup.

This commit is contained in:
Jeff Ames
2008-11-15 02:21:52 +00:00
parent 00d6114525
commit e40fe2db26
5 changed files with 9 additions and 25 deletions

View File

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

View File

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