mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
The new Constant: integer OBJECT_REZZER_KEY = 32;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com> Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
committed by
UbitUmarov
parent
fcd1e36ed6
commit
7c566dca5a
@@ -167,7 +167,7 @@ namespace OpenSim.Data.MySQL
|
||||
"SitTargetOrientY, SitTargetOrientZ, " +
|
||||
"RegionUUID, CreatorID, " +
|
||||
"OwnerID, GroupID, " +
|
||||
"LastOwnerID, SceneGroupID, " +
|
||||
"LastOwnerID, RezzerID, SceneGroupID, " +
|
||||
"PayPrice, PayButton1, " +
|
||||
"PayButton2, PayButton3, " +
|
||||
"PayButton4, LoopedSound, " +
|
||||
@@ -207,7 +207,7 @@ namespace OpenSim.Data.MySQL
|
||||
"?SitTargetOrientW, ?SitTargetOrientX, " +
|
||||
"?SitTargetOrientY, ?SitTargetOrientZ, " +
|
||||
"?RegionUUID, ?CreatorID, ?OwnerID, " +
|
||||
"?GroupID, ?LastOwnerID, ?SceneGroupID, " +
|
||||
"?GroupID, ?LastOwnerID, ?RezzerID, ?SceneGroupID, " +
|
||||
"?PayPrice, ?PayButton1, ?PayButton2, " +
|
||||
"?PayButton3, ?PayButton4, ?LoopedSound, " +
|
||||
"?LoopedSoundGain, ?TextureAnimation, " +
|
||||
@@ -1279,6 +1279,10 @@ namespace OpenSim.Data.MySQL
|
||||
prim.OwnerID = DBGuid.FromDB(row["OwnerID"]);
|
||||
prim.GroupID = DBGuid.FromDB(row["GroupID"]);
|
||||
prim.LastOwnerID = DBGuid.FromDB(row["LastOwnerID"]);
|
||||
if (row["RezzerID"] != DBNull.Value)
|
||||
prim.RezzerID = DBGuid.FromDB(row["RezzerID"]);
|
||||
else
|
||||
prim.RezzerID = UUID.Zero;
|
||||
|
||||
// explicit conversion of integers is required, which sort
|
||||
// of sucks. No idea if there is a shortcut here or not.
|
||||
@@ -1682,6 +1686,7 @@ namespace OpenSim.Data.MySQL
|
||||
cmd.Parameters.AddWithValue("OwnerID", prim.OwnerID.ToString());
|
||||
cmd.Parameters.AddWithValue("GroupID", prim.GroupID.ToString());
|
||||
cmd.Parameters.AddWithValue("LastOwnerID", prim.LastOwnerID.ToString());
|
||||
cmd.Parameters.AddWithValue("RezzerID", prim.RezzerID.ToString());
|
||||
cmd.Parameters.AddWithValue("OwnerMask", prim.OwnerMask);
|
||||
cmd.Parameters.AddWithValue("NextOwnerMask", prim.NextOwnerMask);
|
||||
cmd.Parameters.AddWithValue("GroupMask", prim.GroupMask);
|
||||
|
||||
@@ -453,3 +453,11 @@ MODIFY `cloud_scroll_x` float(9,7) NOT NULL DEFAULT '0.20',
|
||||
MODIFY `cloud_scroll_y` float(9,7) NOT NULL DEFAULT '0.01';
|
||||
|
||||
COMMIT;
|
||||
|
||||
:VERSION 56 #----- Add RezzerID field in table prims
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE `prims` ADD COLUMN `RezzerID` char(36) DEFAULT NULL;
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user