aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/ConsoleUtil.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleUtil.cs b/OpenSim/Framework/Console/ConsoleUtil.cs
index a254be0..2612a50 100644
--- a/OpenSim/Framework/Console/ConsoleUtil.cs
+++ b/OpenSim/Framework/Console/ConsoleUtil.cs
@@ -83,7 +83,10 @@ public class ConsoleUtil
83 List<string> components = rawConsoleVector.Split(VectorSeparatorChars).ToList(); 83 List<string> components = rawConsoleVector.Split(VectorSeparatorChars).ToList();
84 84
85 if (components.Count < 1 || components.Count > 3) 85 if (components.Count < 1 || components.Count > 3)
86 {
87 vector = Vector3.Zero;
86 return false; 88 return false;
89 }
87 90
88 for (int i = components.Count; i < 3; i++) 91 for (int i = components.Count; i < 3; i++)
89 components.Add(""); 92 components.Add("");