Diff of /trunk/AssetClient/Program.cs
Parent Directory
|
Revision Log
|
Patch
| 259 |
|
|
| 260 |
string name = Path.GetFileNameWithoutExtension(inputFile); |
string name = Path.GetFileNameWithoutExtension(inputFile); |
| 261 |
string extension = Path.GetExtension(inputFile).TrimStart('.').ToLower(); |
string extension = Path.GetExtension(inputFile).TrimStart('.').ToLower(); |
| 262 |
string contentType = AssetClient.GetContentTypeFromExtension(extension); |
string contentType = AssetServer.Utils.ExtensionToContentType(extension); |
| 263 |
|
|
| 264 |
if (assetID != UUID.Zero) |
if (assetID != UUID.Zero) |
| 265 |
assetID = AssetClient.CreateAsset(name, "Created with AssetClient", contentType, false, assetData, assetID); |
assetID = AssetClient.CreateAsset(name, "Created with AssetClient", contentType, false, assetData, assetID); |
|
|
Legend:
| Removed from v.40 |
|
| changed lines |
| |
Added in v.41 |
|
|
