diff options
| -rw-r--r-- | indra/llprimitive/llmodel.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h index 90c1c252ed..74e5657d28 100644 --- a/indra/llprimitive/llmodel.h +++ b/indra/llprimitive/llmodel.h @@ -225,7 +225,7 @@ public:  		bool areEqual( double a, double b )  		{  			const float epsilon = 1e-5f; -			return (abs(a - b) > epsilon) && (a < b); +			return (abs((int)(a - b)) > epsilon) && (a < b);  		}  		//Make sure that we return false for any values that are within the tolerance for equivalence  		bool operator() ( const LLVector3& a, const LLVector3& b ) | 
