diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:47:50 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-14 03:23:46 +0300 |
commit | cea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch) | |
tree | fa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/editors/animation | |
parent | 7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff) |
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/keyframes_general.c | 6 | ||||
-rw-r--r-- | source/blender/editors/animation/keyframes_keylist.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index 5d82b3b9939..92017c02858 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -307,11 +307,13 @@ void clean_fcurve(struct bAnimContext *ac, bAnimListElem *ale, float thresh, boo } } -/** Find the first segment of consecutive selected curve points, starting from \a start_index. +/** + * Find the first segment of consecutive selected curve points, starting from \a start_index. * Keys that have BEZT_FLAG_IGNORE_TAG set are treated as unselected. * \param r_segment_start_idx: returns the start index of the segment. * \param r_segment_len: returns the number of curve points in the segment. - * \return whether such a segment was found or not.*/ + * \return whether such a segment was found or not. + */ static bool find_fcurve_segment(FCurve *fcu, const int start_index, int *r_segment_start_idx, diff --git a/source/blender/editors/animation/keyframes_keylist.cc b/source/blender/editors/animation/keyframes_keylist.cc index e4641ead2d2..aba73ec141b 100644 --- a/source/blender/editors/animation/keyframes_keylist.cc +++ b/source/blender/editors/animation/keyframes_keylist.cc @@ -80,7 +80,7 @@ struct AnimKeylist { ListBase /* ActKeyColumn */ key_columns; /* Last accessed column in the key_columns list base. Inserting columns are typically done in * order. The last accessed column is used as starting point to search for a location to add or - * update the next column.*/ + * update the next column. */ std::optional<ActKeyColumn *> last_accessed_column = std::nullopt; struct { diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 25d2f6c510b..0a435a9034a 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -580,7 +580,7 @@ int insert_vert_fcurve( beztr.ipo = BEZT_IPO_BEZ; } else { - /* for UI usage - defaults should come from the userprefs and/or toolsettings */ + /* For UI usage - defaults should come from the user-preferences and/or tool-settings. */ beztr.h1 = beztr.h2 = U.keyhandles_new; /* use default handle type here */ /* use default interpolation mode, with exceptions for int/discrete values */ |