some changes

This commit is contained in:
UbitUmarov
2020-10-06 20:24:05 +01:00
parent 41c6ff0cd7
commit a2268160a8
3 changed files with 36 additions and 20 deletions

View File

@@ -162,20 +162,28 @@ namespace OpenSim.Framework
/// <value>
/// The description of the inventory item (must be less than 64 characters)
/// </value>
public osUTF8 UTF8Description;
public string Description
{
get { return UTF8Description == null ? string.Empty : UTF8Description.ToString();}
set { UTF8Description = string.IsNullOrWhiteSpace(value) ? null : new osUTF8(value);}
}
/*
public string Description
{
get
{
return UTF8Description.ToString();
return m_description;
}
set
{
UTF8Description = new osUTF8(value);
m_description = value;
}
}
protected string m_description = String.Empty;
*/
/// <value>
///
/// </value>