diff options
author | Melanie Thielker | 2008-08-24 06:39:54 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-24 06:39:54 +0000 |
commit | 07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a (patch) | |
tree | 36b1f950b1347ef559ce2266c0856d54eb280768 /OpenSim/Data/MySQL/MySQLRegionData.cs | |
parent | Plumb the data path for all those eye candy values. Saves texture (diff) | |
download | opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.zip opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.tar.gz opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.tar.bz2 opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.tar.xz |
Selling an object in-place (as original) now works. Builders can
now ply their trade. Is that nuts?
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLRegionData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLRegionData.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index c0ebbc6..f6b49af 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs | |||
@@ -1554,6 +1554,11 @@ namespace OpenSim.Data.MySQL | |||
1554 | row["LoopedSound"] = prim.Sound.ToString(); | 1554 | row["LoopedSound"] = prim.Sound.ToString(); |
1555 | row["LoopedSoundGain"] = prim.SoundGain; | 1555 | row["LoopedSoundGain"] = prim.SoundGain; |
1556 | } | 1556 | } |
1557 | else | ||
1558 | { | ||
1559 | row["LoopedSound"] = LLUUID.Zero; | ||
1560 | row["LoopedSoundGain"] = 0.0f; | ||
1561 | } | ||
1557 | 1562 | ||
1558 | row["TextureAnimation"] = prim.TextureAnimation; | 1563 | row["TextureAnimation"] = prim.TextureAnimation; |
1559 | 1564 | ||
@@ -1562,22 +1567,29 @@ namespace OpenSim.Data.MySQL | |||
1562 | row["OmegaZ"] = prim.RotationalVelocity.Z; | 1567 | row["OmegaZ"] = prim.RotationalVelocity.Z; |
1563 | 1568 | ||
1564 | row["CameraEyeOffsetX"] = prim.GetCameraEyeOffset().X; | 1569 | row["CameraEyeOffsetX"] = prim.GetCameraEyeOffset().X; |
1565 | row["CameraEyeOffsetX"] = prim.GetCameraEyeOffset().Y; | 1570 | row["CameraEyeOffsetY"] = prim.GetCameraEyeOffset().Y; |
1566 | row["CameraEyeOffsetZ"] = prim.GetCameraEyeOffset().Z; | 1571 | row["CameraEyeOffsetZ"] = prim.GetCameraEyeOffset().Z; |
1567 | 1572 | ||
1568 | row["CameraAtOffsetX"] = prim.GetCameraAtOffset().X; | 1573 | row["CameraAtOffsetX"] = prim.GetCameraAtOffset().X; |
1569 | row["CameraAtOffsetX"] = prim.GetCameraAtOffset().Y; | 1574 | row["CameraAtOffsetY"] = prim.GetCameraAtOffset().Y; |
1570 | row["CameraAtOffsetZ"] = prim.GetCameraAtOffset().Z; | 1575 | row["CameraAtOffsetZ"] = prim.GetCameraAtOffset().Z; |
1571 | 1576 | ||
1572 | if (prim.GetForceMouselook()) | 1577 | if (prim.GetForceMouselook()) |
1573 | row["ForceMouselook"] = 1; | 1578 | row["ForceMouselook"] = 1; |
1579 | else | ||
1580 | row["ForceMouselook"] = 0; | ||
1574 | 1581 | ||
1575 | row["ScriptAccessPin"] = prim.ScriptAccessPin; | 1582 | row["ScriptAccessPin"] = prim.ScriptAccessPin; |
1576 | 1583 | ||
1577 | if (prim.AllowedDrop) | 1584 | if (prim.AllowedDrop) |
1578 | row["AllowedDrop"] = 1; | 1585 | row["AllowedDrop"] = 1; |
1586 | else | ||
1587 | row["AllowedDrop"] = 0; | ||
1588 | |||
1579 | if (prim.DIE_AT_EDGE) | 1589 | if (prim.DIE_AT_EDGE) |
1580 | row["DieAtEdge"] = 1; | 1590 | row["DieAtEdge"] = 1; |
1591 | else | ||
1592 | row["DieAtEdge"] = 0; | ||
1581 | 1593 | ||
1582 | row["SalePrice"] = prim.SalePrice; | 1594 | row["SalePrice"] = prim.SalePrice; |
1583 | row["SaleType"] = Convert.ToInt16(prim.ObjectSaleType); | 1595 | row["SaleType"] = Convert.ToInt16(prim.ObjectSaleType); |