Forces the owner of a rezzed object to be the "rezzer" of the

object rather than the owner of the inventory item. In theory,
this shouldn't happen unless you are using grid-wide library
for inventory.
0.7.1-dev
Mic Bowman 2011-02-22 13:30:38 -08:00
parent 5a16fa882c
commit 1bb0bae78a
1 changed files with 2 additions and 0 deletions

View File

@ -524,6 +524,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
if (item != null) if (item != null)
{ {
item.Owner = remoteClient.AgentId;
AssetBase rezAsset = m_Scene.AssetService.Get(item.AssetID.ToString()); AssetBase rezAsset = m_Scene.AssetService.Get(item.AssetID.ToString());
if (rezAsset != null) if (rezAsset != null)