From 44f533d95ab99c73116a60ebe79021dd12862155 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Wed, 30 Apr 2014 15:45:00 -0400 Subject: [PATCH] Assign value to 'vector' to fix building under xbuild and Monodevelop --- OpenSim/Framework/Console/ConsoleUtil.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Framework/Console/ConsoleUtil.cs b/OpenSim/Framework/Console/ConsoleUtil.cs index b7a34949b3..3711cb1733 100644 --- a/OpenSim/Framework/Console/ConsoleUtil.cs +++ b/OpenSim/Framework/Console/ConsoleUtil.cs @@ -284,6 +284,7 @@ namespace OpenSim.Framework.Console // We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components // rather than 2. string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc); + vector = new Vector2(0.0f); if (cookedVector == null) {