diff options
author | Sean Dague | 2007-08-28 13:02:51 +0000 |
---|---|---|
committer | Sean Dague | 2007-08-28 13:02:51 +0000 |
commit | c1a899b651ea2a43f88c8afb04fa27d492e5964c (patch) | |
tree | 7d685337db8f115f0986448dc36dbbbeaeaa49b7 /OpenSim/Framework/Data | |
parent | sqlite is storing now, uint64 makes things "interesting". (diff) | |
download | opensim-SC_OLD-c1a899b651ea2a43f88c8afb04fa27d492e5964c.zip opensim-SC_OLD-c1a899b651ea2a43f88c8afb04fa27d492e5964c.tar.gz opensim-SC_OLD-c1a899b651ea2a43f88c8afb04fa27d492e5964c.tar.bz2 opensim-SC_OLD-c1a899b651ea2a43f88c8afb04fa27d492e5964c.tar.xz |
Ensure that UserProfileData doesn't pass down null values.
These cause some issues with the ADO.NET mapping
Diffstat (limited to 'OpenSim/Framework/Data')
-rw-r--r-- | OpenSim/Framework/Data/UserProfileData.cs | 11 |
1 files changed, 7 insertions, 4 deletions
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 | |||
63 | /// 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 | 63 | /// 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 |
64 | /// </summary> | 64 | /// </summary> |
65 | public ulong homeRegion; | 65 | public ulong homeRegion; |
66 | |||
67 | public uint homeRegionX; | ||
68 | public uint homeRegionY; | ||
66 | /// <summary> | 69 | /// <summary> |
67 | /// The coordinates inside the region of the home location | 70 | /// The coordinates inside the region of the home location |
68 | /// </summary> | 71 | /// </summary> |
@@ -86,11 +89,11 @@ namespace OpenSim.Framework.Data | |||
86 | /// <summary> | 89 | /// <summary> |
87 | /// A URI to the users inventory server, used for foreigners and large grids | 90 | /// A URI to the users inventory server, used for foreigners and large grids |
88 | /// </summary> | 91 | /// </summary> |
89 | public string userInventoryURI; | 92 | public string userInventoryURI = String.Empty; |
90 | /// <summary> | 93 | /// <summary> |
91 | /// A URI to the users asset server, used for foreigners and large grids. | 94 | /// A URI to the users asset server, used for foreigners and large grids. |
92 | /// </summary> | 95 | /// </summary> |
93 | public string userAssetURI; | 96 | public string userAssetURI = String.Empty; |
94 | 97 | ||
95 | /// <summary> | 98 | /// <summary> |
96 | /// A uint mask containing the "I can do" fields of the users profile | 99 | /// A uint mask containing the "I can do" fields of the users profile |
@@ -104,11 +107,11 @@ namespace OpenSim.Framework.Data | |||
104 | /// <summary> | 107 | /// <summary> |
105 | /// The about text listed in a users profile. | 108 | /// The about text listed in a users profile. |
106 | /// </summary> | 109 | /// </summary> |
107 | public string profileAboutText; | 110 | public string profileAboutText = String.Empty; |
108 | /// <summary> | 111 | /// <summary> |
109 | /// The first life about text listed in a users profile | 112 | /// The first life about text listed in a users profile |
110 | /// </summary> | 113 | /// </summary> |
111 | public string profileFirstText; | 114 | public string profileFirstText = String.Empty; |
112 | 115 | ||
113 | /// <summary> | 116 | /// <summary> |
114 | /// The profile image for an avatar stored on the asset server | 117 | /// The profile image for an avatar stored on the asset server |