diff options
author | Mike Mazur | 2009-02-17 01:36:44 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-17 01:36:44 +0000 |
commit | 76c0935ec744f2d230489398f879eb7f42b11d37 (patch) | |
tree | a68253554e3899f10b6c341db369ce4a029dfaa5 /OpenSim/Region/CoreModules/World/WorldMap | |
parent | Major change to how appearance is managed, including changes in login and use... (diff) | |
download | opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.zip opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.gz opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.bz2 opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.xz |
- remove the Metadata property from AssetBase and return all previous
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122, as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index e1c3d85..4f98e8b 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -985,14 +985,14 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
985 | m_scene.RegionInfo.RegionSettings.TerrainImageID = TerrainImageUUID; | 985 | m_scene.RegionInfo.RegionSettings.TerrainImageID = TerrainImageUUID; |
986 | 986 | ||
987 | AssetBase asset = new AssetBase(); | 987 | AssetBase asset = new AssetBase(); |
988 | asset.Metadata.FullID = m_scene.RegionInfo.RegionSettings.TerrainImageID; | 988 | asset.FullID = m_scene.RegionInfo.RegionSettings.TerrainImageID; |
989 | asset.Data = data; | 989 | asset.Data = data; |
990 | asset.Metadata.Name | 990 | asset.Name |
991 | = "terrainImage_" + m_scene.RegionInfo.RegionID.ToString() + "_" + lastMapRefresh.ToString(); | 991 | = "terrainImage_" + m_scene.RegionInfo.RegionID.ToString() + "_" + lastMapRefresh.ToString(); |
992 | asset.Metadata.Description = m_scene.RegionInfo.RegionName; | 992 | asset.Description = m_scene.RegionInfo.RegionName; |
993 | 993 | ||
994 | asset.Metadata.Type = 0; | 994 | asset.Type = 0; |
995 | asset.Metadata.Temporary = temporary; | 995 | asset.Temporary = temporary; |
996 | m_scene.CommsManager.AssetCache.AddAsset(asset); | 996 | m_scene.CommsManager.AssetCache.AddAsset(asset); |
997 | } | 997 | } |
998 | 998 | ||