aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/VectorToleranceConstraint.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common/VectorToleranceConstraint.cs')
-rw-r--r--OpenSim/Tests/Common/VectorToleranceConstraint.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenSim/Tests/Common/VectorToleranceConstraint.cs b/OpenSim/Tests/Common/VectorToleranceConstraint.cs
index cc96615..2b60db3 100644
--- a/OpenSim/Tests/Common/VectorToleranceConstraint.cs
+++ b/OpenSim/Tests/Common/VectorToleranceConstraint.cs
@@ -61,14 +61,9 @@ namespace OpenSim.Tests.Common
61 61
62 _valueToBeTested = (LLVector3) valueToBeTested; 62 _valueToBeTested = (LLVector3) valueToBeTested;
63 63
64 if ( IsWithinDoubleConstraint(_valueToBeTested.X,_baseValue.X) && 64 return (IsWithinDoubleConstraint(_valueToBeTested.X, _baseValue.X) &&
65 IsWithinDoubleConstraint(_valueToBeTested.Y,_baseValue.Y) && 65 IsWithinDoubleConstraint(_valueToBeTested.Y, _baseValue.Y) &&
66 IsWithinDoubleConstraint(_valueToBeTested.Z,_baseValue.Z) ) 66 IsWithinDoubleConstraint(_valueToBeTested.Z, _baseValue.Z));
67 {
68 return true;
69 }
70
71 return false;
72 } 67 }
73 68
74 public override void WriteDescriptionTo(MessageWriter writer) 69 public override void WriteDescriptionTo(MessageWriter writer)