diff options
author | Diva Canto | 2010-07-05 07:14:32 -0700 |
---|---|---|
committer | Diva Canto | 2010-07-05 07:15:03 -0700 |
commit | 58508fcb83534f87538d6e0e183f0524e2c479b0 (patch) | |
tree | 1495a237b9b04de12bec094b4490f98d30adb39e /OpenSim/Region/CoreModules/Framework/InventoryAccess | |
parent | Don't include hyperlinks as neighbors, even if grid operators have done the m... (diff) | |
download | opensim-SC_OLD-58508fcb83534f87538d6e0e183f0524e2c479b0.zip opensim-SC_OLD-58508fcb83534f87538d6e0e183f0524e2c479b0.tar.gz opensim-SC_OLD-58508fcb83534f87538d6e0e183f0524e2c479b0.tar.bz2 opensim-SC_OLD-58508fcb83534f87538d6e0e183f0524e2c479b0.tar.xz |
Fixes additional bug reported in mantis #4841.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs index cd66af5..8ccc941 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs | |||
@@ -131,7 +131,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
131 | return ret; | 131 | return ret; |
132 | } | 132 | } |
133 | 133 | ||
134 | // DO NOT OVERRIDE THIS METHOD | 134 | // DO NOT OVERRIDE THE BASE METHOD |
135 | public virtual UUID DeleteToInventory(DeRezAction action, UUID folderID, | 135 | public virtual UUID DeleteToInventory(DeRezAction action, UUID folderID, |
136 | SceneObjectGroup objectGroup, IClientAPI remoteClient) | 136 | SceneObjectGroup objectGroup, IClientAPI remoteClient) |
137 | { | 137 | { |
@@ -139,7 +139,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
139 | 139 | ||
140 | if (!assetID.Equals(UUID.Zero)) | 140 | if (!assetID.Equals(UUID.Zero)) |
141 | { | 141 | { |
142 | UploadInventoryItem(remoteClient.AgentId, assetID, "", 0); | 142 | if (remoteClient != null) |
143 | UploadInventoryItem(remoteClient.AgentId, assetID, "", 0); | ||
143 | } | 144 | } |
144 | else | 145 | else |
145 | m_log.Debug("[HGScene]: Scene.Inventory did not create asset"); | 146 | m_log.Debug("[HGScene]: Scene.Inventory did not create asset"); |