diff options
author | Sean Dague | 2008-07-23 22:14:37 +0000 |
---|---|---|
committer | Sean Dague | 2008-07-23 22:14:37 +0000 |
commit | 1c9551eaaed5c35eb22075cbecbe24fe15343cbd (patch) | |
tree | 9d8ed9b3aa95585b79cbe84f4fca21fee1c90a63 /OpenSim/Data/NHibernate/NHibernateRegionData.cs | |
parent | catch a null case in the convenience RegionID property (diff) | |
download | opensim-SC-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.zip opensim-SC-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.tar.gz opensim-SC-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.tar.bz2 opensim-SC-1c9551eaaed5c35eb22075cbecbe24fe15343cbd.tar.xz |
few additional fixed to get prim inventory up on nhibernate
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateRegionData.cs | 4 |
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 | { |