diff options
author | Diva Canto | 2011-04-12 19:46:27 -0700 |
---|---|---|
committer | Diva Canto | 2011-04-12 19:46:27 -0700 |
commit | 16c911dcbb883e60d7a49176db8b2cea650cc929 (patch) | |
tree | d4c83b6ce4ff415ed7e1126b0e1db7257fb9c238 /OpenSim/Region/CoreModules/World/Terrain/FileLoaders/JPEG.cs | |
parent | Bug fix in object serialization -- sculpt data was wrong. (diff) | |
download | opensim-SC_OLD-16c911dcbb883e60d7a49176db8b2cea650cc929.zip opensim-SC_OLD-16c911dcbb883e60d7a49176db8b2cea650cc929.tar.gz opensim-SC_OLD-16c911dcbb883e60d7a49176db8b2cea650cc929.tar.bz2 opensim-SC_OLD-16c911dcbb883e60d7a49176db8b2cea650cc929.tar.xz |
Implemented terrain save-tile command. Does the opposite of load-tile. For now, only saves to .png.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/FileLoaders/JPEG.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/JPEG.cs b/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/JPEG.cs index 8667607..1a0d8ec 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/JPEG.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/JPEG.cs | |||
@@ -76,6 +76,14 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FileLoaders | |||
76 | colours.Save(stream, ImageFormat.Jpeg); | 76 | colours.Save(stream, ImageFormat.Jpeg); |
77 | } | 77 | } |
78 | 78 | ||
79 | public virtual void SaveFile(ITerrainChannel m_channel, string filename, | ||
80 | int offsetX, int offsetY, | ||
81 | int fileWidth, int fileHeight, | ||
82 | int regionSizeX, int regionSizeY) | ||
83 | { | ||
84 | throw new System.Exception("Not Implemented"); | ||
85 | } | ||
86 | |||
79 | #endregion | 87 | #endregion |
80 | 88 | ||
81 | public override string ToString() | 89 | public override string ToString() |