aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Objects
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-11 00:05:34 +0100
committerJustin Clark-Casey (justincc)2012-10-11 00:05:34 +0100
commitb768c35f6f69606d17fdd76d94b95428ac9d0029 (patch)
treeeadadf9fdb4a61d037a9277811d8571038ebb05c /OpenSim/Region/CoreModules/World/Objects
parentAdd "delete object pos <start-coord> to <end-coord>" console command. (diff)
downloadopensim-SC-b768c35f6f69606d17fdd76d94b95428ac9d0029.zip
opensim-SC-b768c35f6f69606d17fdd76d94b95428ac9d0029.tar.gz
opensim-SC-b768c35f6f69606d17fdd76d94b95428ac9d0029.tar.bz2
opensim-SC-b768c35f6f69606d17fdd76d94b95428ac9d0029.tar.xz
Assign endVector before control leaves ObjectCommandsModule.TryParseVectorRange() in order to fix mono 2.4.3 compile failure.
This doesn't fail the compile on mono 2.10.8.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
index 85779ec..7a35182 100644
--- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
@@ -677,6 +677,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
677 if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) 677 if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector))
678 { 678 {
679 m_console.OutputFormat("Error: Start vector {0} does not have a valid format", rawConsoleStartVector); 679 m_console.OutputFormat("Error: Start vector {0} does not have a valid format", rawConsoleStartVector);
680 endVector = Vector3.Zero;
681
680 return false; 682 return false;
681 } 683 }
682 684