diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/OptionalModules/Asset/AssetInfoModule.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Region/OptionalModules/Asset/AssetInfoModule.cs b/OpenSim/Region/OptionalModules/Asset/AssetInfoModule.cs index 89c6637..21bd2f4 100755 --- a/OpenSim/Region/OptionalModules/Asset/AssetInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Asset/AssetInfoModule.cs | |||
@@ -115,14 +115,14 @@ namespace OpenSim.Region.OptionalModules.Asset | |||
115 | 115 | ||
116 | if (!UUID.TryParse(rawAssetId, out assetId)) | 116 | if (!UUID.TryParse(rawAssetId, out assetId)) |
117 | { | 117 | { |
118 | MainConsole.Instance.Output("ERROR: {0} is not a valid ID format", null, rawAssetId); | 118 | MainConsole.Instance.Output("ERROR: {0} is not a valid ID format", rawAssetId); |
119 | return; | 119 | return; |
120 | } | 120 | } |
121 | 121 | ||
122 | AssetBase asset = m_scene.AssetService.Get(assetId.ToString()); | 122 | AssetBase asset = m_scene.AssetService.Get(assetId.ToString()); |
123 | if (asset == null) | 123 | if (asset == null) |
124 | { | 124 | { |
125 | MainConsole.Instance.Output("ERROR: No asset found with ID {0}", null, assetId); | 125 | MainConsole.Instance.Output("ERROR: No asset found with ID {0}", assetId); |
126 | return; | 126 | return; |
127 | } | 127 | } |
128 | 128 | ||
@@ -139,7 +139,7 @@ namespace OpenSim.Region.OptionalModules.Asset | |||
139 | } | 139 | } |
140 | } | 140 | } |
141 | 141 | ||
142 | MainConsole.Instance.Output("Asset dumped to file {0}", null, fileName); | 142 | MainConsole.Instance.Output("Asset dumped to file {0}", fileName); |
143 | } | 143 | } |
144 | 144 | ||
145 | void HandleShowAsset(string module, string[] args) | 145 | void HandleShowAsset(string module, string[] args) |
@@ -160,13 +160,13 @@ namespace OpenSim.Region.OptionalModules.Asset | |||
160 | 160 | ||
161 | int i; | 161 | int i; |
162 | 162 | ||
163 | MainConsole.Instance.Output("Name: {0}", null, asset.Name); | 163 | MainConsole.Instance.Output("Name: {0}", asset.Name); |
164 | MainConsole.Instance.Output("Description: {0}", null, asset.Description); | 164 | MainConsole.Instance.Output("Description: {0}", asset.Description); |
165 | MainConsole.Instance.Output("Type: {0} (type number = {1})", null, (AssetType)asset.Type, asset.Type); | 165 | MainConsole.Instance.Output("Type: {0} (type number = {1})", (AssetType)asset.Type, asset.Type); |
166 | MainConsole.Instance.Output("Content-type: {0}", null, asset.Metadata.ContentType); | 166 | MainConsole.Instance.Output("Content-type: {0}", asset.Metadata.ContentType); |
167 | MainConsole.Instance.Output("Size: {0} bytes", null, asset.Data.Length); | 167 | MainConsole.Instance.Output("Size: {0} bytes", asset.Data.Length); |
168 | MainConsole.Instance.Output("Temporary: {0}", null, asset.Temporary ? "yes" : "no"); | 168 | MainConsole.Instance.Output("Temporary: {0}", asset.Temporary ? "yes" : "no"); |
169 | MainConsole.Instance.Output("Flags: {0}", null, asset.Metadata.Flags); | 169 | MainConsole.Instance.Output("Flags: {0}", asset.Metadata.Flags); |
170 | 170 | ||
171 | for (i = 0 ; i < 5 ; i++) | 171 | for (i = 0 ; i < 5 ; i++) |
172 | { | 172 | { |