diff options
Diffstat (limited to 'source/blender/blenkernel/intern/tracking_auto.c')
-rw-r--r-- | source/blender/blenkernel/intern/tracking_auto.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/tracking_auto.c b/source/blender/blenkernel/intern/tracking_auto.c index 05d1e427c14..d5e878a9a75 100644 --- a/source/blender/blenkernel/intern/tracking_auto.c +++ b/source/blender/blenkernel/intern/tracking_auto.c @@ -34,7 +34,9 @@ #include "BLI_task.h" #include "BLI_threads.h" #include "BLI_utildefines.h" +#include "PIL_time.h" +#include "BKE_global.h" #include "BKE_movieclip.h" #include "BKE_tracking.h" @@ -97,7 +99,7 @@ typedef struct AutoTrackContext { /* True when tracking backwards (from higher frame number to lower frame number.) */ bool is_backwards; - /* Movie clips used during the trackign process. */ + /* Movie clips used during the tracking process. */ int num_clips; AutoTrackClip autotrack_clips[MAX_ACCESSOR_CLIP]; @@ -180,7 +182,7 @@ static void libmv_frame_to_normalized_relative(const float frame_coord[2], /** \} */ /* -------------------------------------------------------------------- */ -/** \name Coversion of markers between Blender's DNA and Libmv. +/** \name Conversion of markers between Blender's DNA and Libmv. * \{ */ static void dna_marker_to_libmv_marker(/*const*/ MovieTrackingTrack *track, @@ -702,7 +704,7 @@ bool BKE_autotrack_context_step(AutoTrackContext *context) /* -------------------------------------------------------------------- */ /** \name Context data synchronization. * - * Used to copy trackign result to Blender side, while the trackign is still happening in its + * Used to copy tracking result to Blender side, while the tracking is still happening in its * thread. * * \{ */ @@ -738,7 +740,7 @@ void BKE_autotrack_context_sync(AutoTrackContext *context) } BKE_tracking_marker_insert(track, &marker); - /* Insetr disabled marker at the end of tracked segment. + /* Insert disabled marker at the end of tracked segment. * When tracking forward the disabled marker is added at the next frame from the result, * when tracking backwards the marker is added at the previous frame. */ tracking_marker_insert_disabled(track, &marker, context->is_backwards, false); |