Added Region name to the terrain texture description that gets sent to the asset server

afrisby
Brian McBee 2007-11-25 22:27:42 +00:00
parent 35472b3666
commit c710525b48
1 changed files with 2 additions and 0 deletions

View File

@ -653,6 +653,7 @@ namespace OpenSim.Region.Environment.Scenes
asset.FullID = m_regInfo.EstateSettings.terrainImageID;
asset.Data = data;
asset.Name = "terrainImage";
asset.Description = RegionInfo.RegionName;
asset.Type = 0;
asset.Temporary = true;
AssetCache.AddAsset(asset);
@ -667,6 +668,7 @@ namespace OpenSim.Region.Environment.Scenes
asset.FullID = m_regInfo.EstateSettings.terrainImageID;
asset.Data = data;
asset.Name = "terrainImage";
asset.Description = RegionInfo.RegionName;
asset.Type = 0;
asset.Temporary = false;
AssetCache.AddAsset(asset);