diff options
author | Justin Clarke Casey | 2008-02-15 16:05:49 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-15 16:05:49 +0000 |
commit | cf9c0135b11a6b55ee9fdd8e38870b65378f0794 (patch) | |
tree | bca1db016b925f3fe5ee952f2136367d4306587f | |
parent | be smarter about the size of dynamic textures that we pull in (diff) | |
download | opensim-SC-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.zip opensim-SC-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.tar.gz opensim-SC-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.tar.bz2 opensim-SC-cf9c0135b11a6b55ee9fdd8e38870b65378f0794.tar.xz |
Resolve mantis #572 - terrain help printed multiple times when change-region has not been invoked
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 6 |
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; |