revert changes to asset desc size, my bad.. this field will possible go away in future

This commit is contained in:
UbitUmarov
2016-11-24 14:39:08 +00:00
parent 94ec5884b7
commit 5202ae7bb4
5 changed files with 17 additions and 37 deletions

View File

@@ -170,14 +170,6 @@ namespace OpenSim.Data.MySQL
}
string assetDescription = asset.Description;
if(assetDescription.Length > AssetBase.MAX_LMASSET_DESC)
{
if(asset.Type == (sbyte) AssetType.Landmark)
assetDescription = assetDescription.Substring(0, AssetBase.MAX_LMASSET_DESC);
else
assetDescription = assetDescription.Substring(0, AssetBase.MAX_ASSET_DESC);
}
if (asset.Description.Length > AssetBase.MAX_ASSET_DESC)
{
assetDescription = asset.Description.Substring(0, AssetBase.MAX_ASSET_DESC);