aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteUserData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index ce3cf82..2c1e3c3 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -813,6 +813,11 @@ namespace OpenSim.Data.SQLite
813 Convert.ToSingle(row["currentPosY"]), 813 Convert.ToSingle(row["currentPosY"]),
814 Convert.ToSingle(row["currentPosZ"]) 814 Convert.ToSingle(row["currentPosZ"])
815 ); 815 );
816 ua.LookAt = new Vector3(
817 Convert.ToSingle(row["currentLookAtX"]),
818 Convert.ToSingle(row["currentLookAtY"]),
819 Convert.ToSingle(row["currentLookAtZ"])
820 );
816 return ua; 821 return ua;
817 } 822 }
818 823
@@ -838,6 +843,9 @@ namespace OpenSim.Data.SQLite
838 row["currentPosX"] = ua.Position.X; 843 row["currentPosX"] = ua.Position.X;
839 row["currentPosY"] = ua.Position.Y; 844 row["currentPosY"] = ua.Position.Y;
840 row["currentPosZ"] = ua.Position.Z; 845 row["currentPosZ"] = ua.Position.Z;
846 row["currentLookAtX"] = ua.LookAt.X;
847 row["currentLookAtY"] = ua.LookAt.Y;
848 row["currentLookAtZ"] = ua.LookAt.Z;
841 } 849 }
842 850
843 /*********************************************************************** 851 /***********************************************************************