Skip to content

Commit e478a9c

Browse files
authored
feat(anymocap): Allow overwriting tStart/tEnd/nStep of MarkerTracking (#988)
1 parent ec2eaae commit e478a9c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Tools/AnyMocap/MarkerTrackingSettings.any

+5-3
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ Main.Studies.MarkerTracking =
5252
#define N_STEP_KINEMATICS round(1+(T_END-T_START)*Main.ModelSetup.C3DFileData.Header.VideoFrameRate)
5353
#endif
5454

55-
tStart = T_START;
56-
tEnd = T_END;
57-
nStep = N_STEP_KINEMATICS;
55+
// Becarefull when overwriting these directly. It is important that
56+
// timesteps match the frames and framerate of the C3D/BVH file.
57+
tStart ??= T_START;
58+
tEnd ??= T_END;
59+
nStep ??= N_STEP_KINEMATICS;
5860

5961
};

0 commit comments

Comments
 (0)