aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp
diff options
context:
space:
mode:
authorMW2007-11-28 12:36:09 +0000
committerMW2007-11-28 12:36:09 +0000
commitac77c50ba9efb7755bd36e832a9a93fb25946a5f (patch)
treea44c901ebd0bb80ca04beccac537d05ffb42f4b4 /OpenSim/Region/Examples/SimpleApp
parent* Disambiguation in the 'sim is restarting message' that tells you 'which' si... (diff)
downloadopensim-SC_OLD-ac77c50ba9efb7755bd36e832a9a93fb25946a5f.zip
opensim-SC_OLD-ac77c50ba9efb7755bd36e832a9a93fb25946a5f.tar.gz
opensim-SC_OLD-ac77c50ba9efb7755bd36e832a9a93fb25946a5f.tar.bz2
opensim-SC_OLD-ac77c50ba9efb7755bd36e832a9a93fb25946a5f.tar.xz
Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs2
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyWorld.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
index 550b232..56316e6 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
@@ -255,7 +255,7 @@ namespace SimpleApp
255 { 255 {
256 } 256 }
257 257
258 public virtual void SendTeleportCancel() 258 public virtual void SendTeleportFailed()
259 { 259 {
260 } 260 }
261 261
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
index 389ba47..535d519 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
@@ -63,7 +63,7 @@ namespace SimpleApp
63 } 63 }
64 64
65 Terrain.GetHeights1D(map); 65 Terrain.GetHeights1D(map);
66 CreateTerrainTexture(); 66 CreateTerrainTexture(true);
67 } 67 }
68 68
69 public override void AddNewClient(IClientAPI client, bool child) 69 public override void AddNewClient(IClientAPI client, bool child)