diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-20 07:24:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-20 08:15:53 +0300 |
commit | 255c850e0be3c1ca8676e2dcdc316232f646da96 (patch) | |
tree | 4b9e749db61a686cf8dbee5e91d4276c22c1642d /source/blender/blenkernel/intern | |
parent | b2a6e2abdb572f4db801a29423c001d3da307f9d (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 7 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 00c245a797f..da874539232 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -2357,9 +2357,10 @@ static bool is_action_track_evaluated_without_nla(const AnimData *adt, return true; } -/** XXX Wayde Moss: BKE_nlatrack_find_tweaked() exists within nla.c, but it doesn't appear to - * work as expected. From animsys_evaluate_nla_for_flush(), it returns NULL in tweak mode. I'm not - * sure why. Preferably, it would be as simple as checking for (adt->act_Track == nlt) but that +/** + * XXX(Wayde Moss): #BKE_nlatrack_find_tweaked() exists within nla.c, but it doesn't appear to + * work as expected. From #animsys_evaluate_nla_for_flush(), it returns NULL in tweak mode. I'm not + * sure why. Preferably, it would be as simple as checking for `(adt->act_Track == nlt)` but that * doesn't work either, neither does comparing indices. * * This function is a temporary work around. The first disabled track is always the tweaked track. diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 7a7ff5e9acb..5353d0b9628 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -1482,14 +1482,16 @@ void BKE_tracking_marker_clamp(MovieTrackingMarker *marker, int event) } } -/* Get marker closest to the given frame number. +/** + * Get marker closest to the given frame number. * * If there is maker with exact frame number it returned. - * Otherwise, marker with higherst frame number but lower than the requested + * Otherwise, marker with highest frame number but lower than the requested * frame is returned if such marker exists. Otherwise, the marker with lowest * frame number greater than the requested frame number is returned. * - * This function has complexity of O(log number_of_markers). */ + * This function has complexity of `O(log number_of_markers)`. + */ MovieTrackingMarker *BKE_tracking_marker_get(MovieTrackingTrack *track, int framenr) { const int num_markers = track->markersnr; |