diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs index eb78037..289fd94 100644 --- a/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs | |||
@@ -1187,7 +1187,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
1187 | prim.SitName = (String) row["SitName"]; | 1187 | prim.SitName = (String) row["SitName"]; |
1188 | prim.TouchName = (String) row["TouchName"]; | 1188 | prim.TouchName = (String) row["TouchName"]; |
1189 | // permissions | 1189 | // permissions |
1190 | prim.ObjectFlags = Convert.ToUInt32(row["ObjectFlags"]); | 1190 | prim.Flags = (PrimFlags)Convert.ToUInt32(row["ObjectFlags"]); |
1191 | prim.CreatorID = new UUID((String) row["CreatorID"]); | 1191 | prim.CreatorID = new UUID((String) row["CreatorID"]); |
1192 | prim.OwnerID = new UUID((String) row["OwnerID"]); | 1192 | prim.OwnerID = new UUID((String) row["OwnerID"]); |
1193 | prim.GroupID = new UUID((String) row["GroupID"]); | 1193 | prim.GroupID = new UUID((String) row["GroupID"]); |
@@ -1521,7 +1521,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
1521 | row["SitName"] = prim.SitName; | 1521 | row["SitName"] = prim.SitName; |
1522 | row["TouchName"] = prim.TouchName; | 1522 | row["TouchName"] = prim.TouchName; |
1523 | // permissions | 1523 | // permissions |
1524 | row["ObjectFlags"] = prim.ObjectFlags; | 1524 | row["ObjectFlags"] = (uint)prim.Flags; |
1525 | row["CreatorID"] = prim.CreatorID.ToString(); | 1525 | row["CreatorID"] = prim.CreatorID.ToString(); |
1526 | row["OwnerID"] = prim.OwnerID.ToString(); | 1526 | row["OwnerID"] = prim.OwnerID.ToString(); |
1527 | row["GroupID"] = prim.GroupID.ToString(); | 1527 | row["GroupID"] = prim.GroupID.ToString(); |