diff options
author | Robert Adams | 2014-02-02 11:17:49 -0800 |
---|---|---|
committer | Robert Adams | 2014-02-02 11:17:49 -0800 |
commit | 9c97fb8e127e91d48cf92eeed238cf80878e2286 (patch) | |
tree | a0d00a1707f45121137d210f18b8b9525cc3ab48 /OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs | |
parent | Overload INPCModule.CreateNPC() to allow agentID to be specified. Note: this ... (diff) | |
download | opensim-SC-9c97fb8e127e91d48cf92eeed238cf80878e2286.zip opensim-SC-9c97fb8e127e91d48cf92eeed238cf80878e2286.tar.gz opensim-SC-9c97fb8e127e91d48cf92eeed238cf80878e2286.tar.bz2 opensim-SC-9c97fb8e127e91d48cf92eeed238cf80878e2286.tar.xz |
Implement terrain merging in TerrainChannel.
Modify archiver to use terrain merging when loading oars.
This makes displacement AND rotation properly work on terrain when loading oars.
Especially useful when loading legacy region oars into large varregions.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs b/OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs index 469bd31..f660b8d 100644 --- a/OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs +++ b/OpenSim/Region/Framework/Interfaces/ITerrainChannel.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Framework; | 28 | using OpenSim.Framework; |
29 | using OpenMetaverse; | ||
29 | 30 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 32 | { |
@@ -56,5 +57,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
56 | ITerrainChannel MakeCopy(); | 57 | ITerrainChannel MakeCopy(); |
57 | string SaveToXmlString(); | 58 | string SaveToXmlString(); |
58 | void LoadFromXmlString(string data); | 59 | void LoadFromXmlString(string data); |
60 | // Merge some terrain into this channel | ||
61 | void Merge(ITerrainChannel newTerrain, Vector3 displacement, float radianRotation, Vector2 rotationDisplacement); | ||
59 | } | 62 | } |
60 | } | 63 | } |