diff options
author | UbitUmarov | 2016-11-24 14:39:08 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-24 14:39:08 +0000 |
commit | 5202ae7bb4b3e20aad762811195922da6926a54c (patch) | |
tree | 8d77ea056dc7e2af1a2bc5e6e44c7ba40eab027f /OpenSim/Data/MySQL/MySQLAssetData.cs | |
parent | fix llRez(AtRoot/Object) error messages on shared code path (diff) | |
download | opensim-SC-5202ae7bb4b3e20aad762811195922da6926a54c.zip opensim-SC-5202ae7bb4b3e20aad762811195922da6926a54c.tar.gz opensim-SC-5202ae7bb4b3e20aad762811195922da6926a54c.tar.bz2 opensim-SC-5202ae7bb4b3e20aad762811195922da6926a54c.tar.xz |
revert changes to asset desc size, my bad.. this field will possible go away in future
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLAssetData.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index 83e7e4c..1488e1a 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs | |||
@@ -170,14 +170,6 @@ namespace OpenSim.Data.MySQL | |||
170 | } | 170 | } |
171 | 171 | ||
172 | string assetDescription = asset.Description; | 172 | string assetDescription = asset.Description; |
173 | if(assetDescription.Length > AssetBase.MAX_LMASSET_DESC) | ||
174 | { | ||
175 | if(asset.Type == (sbyte) AssetType.Landmark) | ||
176 | assetDescription = assetDescription.Substring(0, AssetBase.MAX_LMASSET_DESC); | ||
177 | else | ||
178 | assetDescription = assetDescription.Substring(0, AssetBase.MAX_ASSET_DESC); | ||
179 | } | ||
180 | |||
181 | if (asset.Description.Length > AssetBase.MAX_ASSET_DESC) | 173 | if (asset.Description.Length > AssetBase.MAX_ASSET_DESC) |
182 | { | 174 | { |
183 | assetDescription = asset.Description.Substring(0, AssetBase.MAX_ASSET_DESC); | 175 | assetDescription = asset.Description.Substring(0, AssetBase.MAX_ASSET_DESC); |