aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateRegionData.cs
diff options
context:
space:
mode:
authorSean Dague2008-07-23 22:14:37 +0000
committerSean Dague2008-07-23 22:14:37 +0000
commit1c9551eaaed5c35eb22075cbecbe24fe15343cbd (patch)
tree9d8ed9b3aa95585b79cbe84f4fca21fee1c90a63 /OpenSim/Data/NHibernate/NHibernateRegionData.cs
parentcatch a null case in the convenience RegionID property (diff)
downloadopensim-SC_OLD-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.zip
opensim-SC_OLD-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.tar.gz
opensim-SC_OLD-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.tar.bz2
opensim-SC_OLD-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.tar.xz
few additional fixed to get prim inventory up on nhibernate
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateRegionData.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateRegionData.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
index 86a93f2..52db32d 100644
--- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
@@ -259,7 +259,9 @@ namespace OpenSim.Data.NHibernate
259 { 259 {
260 inventory.Add(i); 260 inventory.Add(i);
261 } 261 }
262 p.RestoreInventoryItems(inventory); 262
263 if (inventory.Count > 0)
264 p.RestoreInventoryItems(inventory);
263 } 265 }
264 foreach (SceneObjectGroup g in SOG.Values) 266 foreach (SceneObjectGroup g in SOG.Values)
265 { 267 {