From c1a899b651ea2a43f88c8afb04fa27d492e5964c Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 28 Aug 2007 13:02:51 +0000 Subject: Ensure that UserProfileData doesn't pass down null values. These cause some issues with the ADO.NET mapping --- OpenSim/Framework/Data/UserProfileData.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/Data') diff --git a/OpenSim/Framework/Data/UserProfileData.cs b/OpenSim/Framework/Data/UserProfileData.cs index 67ff64c..3c1f1c7 100644 --- a/OpenSim/Framework/Data/UserProfileData.cs +++ b/OpenSim/Framework/Data/UserProfileData.cs @@ -63,6 +63,9 @@ namespace OpenSim.Framework.Data /// The regionhandle of the users preffered home region. If multiple sims occupy the same spot, the grid may decide which region the user logs into /// public ulong homeRegion; + + public uint homeRegionX; + public uint homeRegionY; /// /// The coordinates inside the region of the home location /// @@ -86,11 +89,11 @@ namespace OpenSim.Framework.Data /// /// A URI to the users inventory server, used for foreigners and large grids /// - public string userInventoryURI; + public string userInventoryURI = String.Empty; /// /// A URI to the users asset server, used for foreigners and large grids. /// - public string userAssetURI; + public string userAssetURI = String.Empty; /// /// A uint mask containing the "I can do" fields of the users profile @@ -104,11 +107,11 @@ namespace OpenSim.Framework.Data /// /// The about text listed in a users profile. /// - public string profileAboutText; + public string profileAboutText = String.Empty; /// /// The first life about text listed in a users profile /// - public string profileFirstText; + public string profileFirstText = String.Empty; /// /// The profile image for an avatar stored on the asset server -- cgit v1.1