[chronojump] Fixed pass floats to encoder capture



commit 4e19d977485b4c513d0f749cde43379d220122b5
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Apr 14 19:15:06 2012 +0200

    Fixed pass floats to encoder capture

 src/encoder.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/encoder.cs b/src/encoder.cs
index 302d7bd..0cdb987 100644
--- a/src/encoder.cs
+++ b/src/encoder.cs
@@ -77,8 +77,10 @@ public class EncoderParams
 		return time.ToString() + " " + minHeight.ToString() + " " + isJump.ToString() + 
 			" " + mass.ToString() + " " + smooth + " " + eccon +
 			" " + heightHigherCondition.ToString() +	" " + heightLowerCondition.ToString() +
-			" " + meanSpeedHigherCondition.ToString() + 	" " + meanSpeedLowerCondition.ToString() +
-			" " + maxSpeedHigherCondition.ToString() + 	" " + maxSpeedLowerCondition.ToString() +
+			" " + Util.ConvertToPoint(meanSpeedHigherCondition.ToString()) + 	
+			" " + Util.ConvertToPoint(meanSpeedLowerCondition.ToString()) +
+			" " + Util.ConvertToPoint(maxSpeedHigherCondition.ToString()) + 	
+			" " + Util.ConvertToPoint(maxSpeedLowerCondition.ToString()) +
 			" " + powerHigherCondition.ToString() + 	" " + powerLowerCondition.ToString() +
 			" " + peakPowerHigherCondition.ToString() + 	" " + peakPowerLowerCondition.ToString();
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]