Changed the maximum asset name and description lengths to constants. Also, pre-truncate the description of dynamic textures.

This commit is contained in:
Oren Hurvitz
2014-04-22 12:04:06 +03:00
parent 4cac87d9f4
commit 93a9ed2a6d
7 changed files with 25 additions and 20 deletions

View File

@@ -50,6 +50,9 @@ namespace OpenSim.Framework
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public static readonly int MAX_ASSET_NAME = 64;
public static readonly int MAX_ASSET_DESC = 64;
/// <summary>
/// Data of the Asset
/// </summary>