diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 781b9ff..8c560e5 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -867,6 +867,15 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
867 | return null; | 867 | return null; |
868 | } | 868 | } |
869 | 869 | ||
870 | if(rezAsset.Data == null || rezAsset.Data.Length == 0) | ||
871 | { | ||
872 | m_log.WarnFormat( | ||
873 | "[INVENTORY ACCESS MODULE]: missing data in asset {0} to RezObject()", | ||
874 | assetID, remoteClient.Name); | ||
875 | remoteClient.SendAgentAlertMessage(string.Format("Unable to rez: missing data in asset {0} ", assetID), false); | ||
876 | return null; | ||
877 | } | ||
878 | |||
870 | SceneObjectGroup group = null; | 879 | SceneObjectGroup group = null; |
871 | 880 | ||
872 | List<SceneObjectGroup> objlist; | 881 | List<SceneObjectGroup> objlist; |