[chronojump] Fixed two crash on RaceAnalyzer capture since recent commits (angle)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed two crash on RaceAnalyzer capture since recent commits (angle)
- Date: Tue, 10 May 2022 16:32:02 +0000 (UTC)
commit bca1ac26e9feea8e919b1eeb985c948c77567d0e
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue May 10 18:31:42 2022 +0200
Fixed two crash on RaceAnalyzer capture since recent commits (angle)
src/gui/app1/runEncoder.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 9897e4940..facd0351e 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -596,7 +596,7 @@ public partial class ChronoJumpWindow
reCGSD = new RunEncoderCaptureGetSpeedAndDisplacement(
currentRunEncoderExercise.SegmentCm,
currentRunEncoderExercise.SegmentVariableCm,
currentPersonSession.Weight, //but note if person changes (but graph will be
hopefully erased), this will change also take care on exports
- currentRunEncoder.Angle);
+ Convert.ToInt32(race_analyzer_spinbutton_angle.Value));
runEncoderShouldShowCaptureGraphsWithData = true;
runEncoderCaptureThread = new Thread(new ThreadStart(runEncoderCaptureDo));
@@ -1606,7 +1606,7 @@ public partial class ChronoJumpWindow
UtilDate.ToFile(runEncoderTimeStartCapture),
"", //on capture cannot store comment (comment has to
be written after),
"", //videoURL
- currentRunEncoder.Angle,
+ Convert.ToInt32(race_analyzer_spinbutton_angle.Value),
currentRunEncoderExercise.Name);
currentRunEncoder.UniqueID = currentRunEncoder.InsertSQL(false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]