diff options
author | BlueWall | 2014-04-30 15:45:00 -0400 |
---|---|---|
committer | BlueWall | 2014-04-30 15:45:00 -0400 |
commit | 44f533d95ab99c73116a60ebe79021dd12862155 (patch) | |
tree | 55b6fbcdb36c12187c6c3337a734c2ec919e8dcb | |
parent | minor: Correct mistake in terrain flip error message from previous commit 5d0... (diff) | |
download | opensim-SC-44f533d95ab99c73116a60ebe79021dd12862155.zip opensim-SC-44f533d95ab99c73116a60ebe79021dd12862155.tar.gz opensim-SC-44f533d95ab99c73116a60ebe79021dd12862155.tar.bz2 opensim-SC-44f533d95ab99c73116a60ebe79021dd12862155.tar.xz |
Assign value to 'vector' to fix building under xbuild and Monodevelop
-rw-r--r-- | OpenSim/Framework/Console/ConsoleUtil.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleUtil.cs b/OpenSim/Framework/Console/ConsoleUtil.cs index b7a3494..3711cb1 100644 --- a/OpenSim/Framework/Console/ConsoleUtil.cs +++ b/OpenSim/Framework/Console/ConsoleUtil.cs | |||
@@ -284,6 +284,7 @@ namespace OpenSim.Framework.Console | |||
284 | // We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components | 284 | // We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components |
285 | // rather than 2. | 285 | // rather than 2. |
286 | string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc); | 286 | string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc); |
287 | vector = new Vector2(0.0f); | ||
287 | 288 | ||
288 | if (cookedVector == null) | 289 | if (cookedVector == null) |
289 | { | 290 | { |