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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user