aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2011-05-04 11:34:18 -0700
committerJustin Clark-Casey (justincc)2011-05-04 20:00:11 +0100
commit8e8fee20edfd559272d1e5ee46e38067f3ea4460 (patch)
tree1b5719f5ed8f76193cbaf04d789abd5fc1742584 /OpenSim
parentFix crash when [Mesh] section is missing from configuration files (diff)
downloadopensim-SC_OLD-8e8fee20edfd559272d1e5ee46e38067f3ea4460.zip
opensim-SC_OLD-8e8fee20edfd559272d1e5ee46e38067f3ea4460.tar.gz
opensim-SC_OLD-8e8fee20edfd559272d1e5ee46e38067f3ea4460.tar.bz2
opensim-SC_OLD-8e8fee20edfd559272d1e5ee46e38067f3ea4460.tar.xz
Fixes mantis #5461.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index 6b3df9d..1370b1f 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -371,7 +371,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
371 } 371 }
372 372
373 // This is a hook to do some per-asset post-processing for subclasses that need that 373 // This is a hook to do some per-asset post-processing for subclasses that need that
374 ExportAsset(remoteClient.AgentId, assetID); 374 if (remoteClient != null)
375 ExportAsset(remoteClient.AgentId, assetID);
375 376
376 return assetID; 377 return assetID;
377 } 378 }