diff options
author | Mic Bowman | 2011-02-22 13:30:38 -0800 |
---|---|---|
committer | Mic Bowman | 2011-02-22 13:30:38 -0800 |
commit | 1bb0bae78aa6654730e1095ba07086679de529de (patch) | |
tree | 3bb0459f17f11edce8d2aef124290992901043b0 /OpenSim | |
parent | Parameterizes the view distance used to compute and manage (diff) | |
download | opensim-SC-1bb0bae78aa6654730e1095ba07086679de529de.zip opensim-SC-1bb0bae78aa6654730e1095ba07086679de529de.tar.gz opensim-SC-1bb0bae78aa6654730e1095ba07086679de529de.tar.bz2 opensim-SC-1bb0bae78aa6654730e1095ba07086679de529de.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 7bb8789..bd316c6 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -524,6 +524,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
524 | 524 | ||
525 | if (item != null) | 525 | if (item != null) |
526 | { | 526 | { |
527 | item.Owner = remoteClient.AgentId; | ||
528 | |||
527 | AssetBase rezAsset = m_Scene.AssetService.Get(item.AssetID.ToString()); | 529 | AssetBase rezAsset = m_Scene.AssetService.Get(item.AssetID.ToString()); |
528 | 530 | ||
529 | if (rezAsset != null) | 531 | if (rezAsset != null) |