mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* Patch from JHurliman
* Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
This commit is contained in:
@@ -850,7 +850,7 @@ VALUES
|
||||
|
||||
newData.Name = (String)row["Name"];
|
||||
newData.Description = (String)row["Description"];
|
||||
newData.OwnerID = (String)row["OwnerUUID"];
|
||||
newData.OwnerID = (UUID)(String)row["OwnerUUID"];
|
||||
newData.IsGroupOwned = Convert.ToBoolean(row["IsGroupOwned"]);
|
||||
newData.Area = Convert.ToInt32(row["Area"]);
|
||||
newData.AuctionID = Convert.ToUInt32(row["AuctionID"]); //Unemplemented
|
||||
@@ -910,7 +910,7 @@ VALUES
|
||||
{
|
||||
ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry();
|
||||
entry.AgentID = new UUID((string)row["AccessUUID"]);
|
||||
entry.Flags = (ParcelManager.AccessList)Convert.ToInt32(row["Flags"]);
|
||||
entry.Flags = (AccessList)Convert.ToInt32(row["Flags"]);
|
||||
entry.Time = new DateTime();
|
||||
return entry;
|
||||
}
|
||||
|
||||
@@ -1052,7 +1052,7 @@ ELSE
|
||||
retval.LogoutTime = Convert.ToInt32(reader["logoutTime"].ToString());
|
||||
|
||||
// Current position
|
||||
retval.Region = (string)reader["currentRegion"];
|
||||
retval.Region = (UUID)(string)reader["currentRegion"];
|
||||
retval.Handle = Convert.ToUInt64(reader["currentHandle"].ToString());
|
||||
Vector3 tmp_v;
|
||||
Vector3.TryParse((string)reader["currentPos"], out tmp_v);
|
||||
|
||||
Reference in New Issue
Block a user