aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-02-15 16:05:49 +0000
committerJustin Clarke Casey2008-02-15 16:05:49 +0000
commitcf9c0135b11a6b55ee9fdd8e38870b65378f0794 (patch)
treebca1db016b925f3fe5ee952f2136367d4306587f
parentbe smarter about the size of dynamic textures that we pull in (diff)
downloadopensim-SC_OLD-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.zip
opensim-SC_OLD-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.tar.gz
opensim-SC_OLD-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.tar.bz2
opensim-SC_OLD-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.tar.xz
Resolve mantis #572 - terrain help printed multiple times when change-region has not been invoked
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 490f808..01c9232 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -187,6 +187,12 @@ namespace OpenSim.Region.Environment.Scenes
187 { 187 {
188 success = false; 188 success = false;
189 } 189 }
190
191 // Messy way of preventing us printing out the same help text for each scene
192 if (cmdparams.Length <= 0 || cmdparams[0] == "help")
193 {
194 break;
195 }
190 } 196 }
191 197
192 return success; 198 return success;