Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.

Removed the second set. Fixes Mantis#2380.
0.6.1-post-fixes
Homer Horwitz 2008-12-14 18:17:35 +00:00
parent 7c6c443503
commit ef2c0d115a
1 changed files with 0 additions and 2 deletions

View File

@ -1187,8 +1187,6 @@ namespace OpenSim.Data.SQLite
Convert.ToSingle( Convert.ToSingle(
row["SitTargetOrientW"])); row["SitTargetOrientW"]));
prim.Color = Color.FromArgb(Convert.ToInt32(row["ColorR"]), Convert.ToInt32(row["ColorG"]), Convert.ToInt32(row["ColorB"]));
prim.ClickAction = Convert.ToByte(row["ClickAction"]); prim.ClickAction = Convert.ToByte(row["ClickAction"]);
prim.PayPrice[0] = Convert.ToInt32(row["PayPrice"]); prim.PayPrice[0] = Convert.ToInt32(row["PayPrice"]);
prim.PayPrice[1] = Convert.ToInt32(row["PayButton1"]); prim.PayPrice[1] = Convert.ToInt32(row["PayButton1"]);