Commit: 2583cc88dea50d143a27aeafaa0870cc668662c4
Author: Thomas Szepe
Date:   Wed Dec 30 12:45:36 2015 +0100
Branches: master
https://developer.blender.org/rB2583cc88dea50d143a27aeafaa0870cc668662c4

Fix Moto overflow warnings

This fault (level 2, C4056) was introduced by changing Moto from double to 
float.

===================================================================

M       intern/moto/include/MT_Scalar.h

===================================================================

diff --git a/intern/moto/include/MT_Scalar.h b/intern/moto/include/MT_Scalar.h
index 93bd1a2..94723f4 100644
--- a/intern/moto/include/MT_Scalar.h
+++ b/intern/moto/include/MT_Scalar.h
@@ -61,7 +61,7 @@ const MT_Scalar  MT_PI(3.14159265358979323846);
 const MT_Scalar  MT_2_PI(6.28318530717958623200);
 const MT_Scalar  MT_EPSILON(1.0e-10);
 const MT_Scalar  MT_EPSILON2(1.0e-20);
-const MT_Scalar  MT_INFINITY(1.0e50);
+const MT_Scalar  MT_INFINITY(1.0e38);
 
 inline int       MT_sign(MT_Scalar x) {
     return x < 0.0f ? -1 : x > 0.0f ? 1 : 0;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to