[chronojump] Disabled two cams record for the future (when it's done)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Disabled two cams record for the future (when it's done)
- Date: Tue, 13 Nov 2018 14:40:58 +0000 (UTC)
commit a3115b16421691deb53214bd0ca871f085d6a3b4
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Nov 13 15:40:26 2018 +0100
Disabled two cams record for the future (when it's done)
src/gui/chronojump.cs | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 764ebcc2..e854849a 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -4744,7 +4744,8 @@ public partial class ChronoJumpWindow
repetitiveConditionsWin, progressbarLimit, egd
);
- webcamStart (2);
+ //webcamStart (2);
+ webcamStart (1);
//suitable for limited by jump and time
//simulated always simulate limited by jumps
@@ -4804,10 +4805,14 @@ public partial class ChronoJumpWindow
Sqlite.DeleteTempEvents("tempJumpRj");
//stop camera (storing value or not)
- if(currentEventExecute.Cancel || currentJumpRj == null)
- webcamEndTwoCams (Constants.TestTypes.JUMP_RJ, -1);
- else
- webcamEndTwoCams (Constants.TestTypes.JUMP_RJ, currentJumpRj.UniqueID);
+ if(currentEventExecute.Cancel || currentJumpRj == null) {
+ //webcamEndTwoCams (Constants.TestTypes.JUMP_RJ, -1);
+ webcamEnd (Constants.TestTypes.JUMP_RJ, -1);
+ }
+ else {
+ //webcamEndTwoCams (Constants.TestTypes.JUMP_RJ, currentJumpRj.UniqueID);
+ webcamEnd (Constants.TestTypes.JUMP_RJ, currentJumpRj.UniqueID);
+ }
//since 0.7.4.1 when test is done, treeview select it. action event button have to be shown
//this has to be after webcamRecordEnd in order to see if video is created
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]