store rotation axis locks in MySql and SQlite dbs ( others need to be updated also

This commit is contained in:
UbitUmarov
2015-10-20 18:08:04 +01:00
parent 52860a7d15
commit 3e25430e3a
4 changed files with 26 additions and 5 deletions

View File

@@ -1764,6 +1764,7 @@ namespace OpenSim.Data.SQLite
prim.PassCollisions = Convert.ToBoolean(row["PassCollisions"]);
prim.PassTouches = Convert.ToBoolean(row["PassTouches"]);
prim.RotationAxisLocks = Convert.ToByte(row["RotationAxisLocks"]);
SOPVehicle vehicle = null;
if (!(row["Vehicle"] is DBNull) && row["Vehicle"].ToString() != String.Empty)
@@ -2185,9 +2186,9 @@ namespace OpenSim.Data.SQLite
else
row["KeyframeMotion"] = new Byte[0];
row["PassTouches"] = prim.PassTouches;
row["PassCollisions"] = prim.PassCollisions;
row["RotationAxisLocks"] = prim.RotationAxisLocks;
if (prim.VehicleParams != null)
row["Vehicle"] = prim.VehicleParams.ToXml2();