Defaulting four string values in Primitive.Properties to String.Empty instead of null in the Primitive() constructor

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2194 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-08-31 02:27:23 +00:00
parent 1fb845c9d4
commit e28e62bac5

View File

@@ -1070,6 +1070,11 @@ namespace OpenMetaverse
/// </summary>
public Primitive()
{
// Default a few null property values to String.Empty
Properties.Name = String.Empty;
Properties.Description = String.Empty;
Properties.TouchName = String.Empty;
Properties.SitName = String.Empty;
}
#endregion Constructors