Fix T45459: Edge Length with Separate Units Displayed As 1m 100cm.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 16 Jul 2015 15:45:51 +0000 (17:45 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 16 Jul 2015 15:45:51 +0000 (17:45 +0200)
Our 'unit epsilon' was too small, given the fact we only display up to four digits usually...

source/blender/blenkernel/intern/unit.c

index d1fd0556fc6a28b2854298364a1639ad1f25039a..64d561491e20eefb64c0e83cdd4221cc269706b5 100644 (file)
@@ -48,7 +48,7 @@
 #define SEP_CHR                '#'
 #define SEP_STR                "#"
 
-#define EPS 0.00001
+#define EPS 0.001
 
 #define UN_SC_KM       1000.0f
 #define UN_SC_HM       100.0f