mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
store rotation axis locks in MySql and SQlite dbs ( others need to be updated also
This commit is contained in:
@@ -625,4 +625,12 @@ ALTER TABLE `land` ADD COLUMN `SeeAVs` BOOLEAN NOT NULL DEFAULT TRUE;
|
||||
ALTER TABLE `land` ADD COLUMN `AnyAVSounds` BOOLEAN NOT NULL DEFAULT TRUE;
|
||||
ALTER TABLE `land` ADD COLUMN `GroupAVSounds` BOOLEAN NOT NULL DEFAULT TRUE;
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
||||
:VERSION 32 #---- Rotation axis locks
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE prims ADD COLUMN `RotationAxisLocks` tinyint(4) NOT NULL default '0';
|
||||
|
||||
COMMIT;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user