Cleanup: spelling
This commit is contained in:
parent
1559aa3da0
commit
4fc54ddae1
|
@ -45,7 +45,7 @@ template<typename> struct is_array : public std::false_type {
|
|||
template<typename T> struct is_array<array<T>> : public std::true_type {
|
||||
};
|
||||
|
||||
/* Store the data set for an animation at every time points, or at the begining of the animation
|
||||
/* Store the data set for an animation at every time points, or at the beginning of the animation
|
||||
* for constant data.
|
||||
*
|
||||
* The data is supposed to be stored in chronological order, and is looked up using the current
|
||||
|
|
|
@ -422,7 +422,7 @@ static int lib_override_linked_group_tag_cb(LibraryIDLinkCallbackData *cb_data)
|
|||
return IDWALK_RET_NOP;
|
||||
}
|
||||
|
||||
/* Tag all IDs in dependency relationships whithin an override hierarchy/group.
|
||||
/* Tag all IDs in dependency relationships within an override hierarchy/group.
|
||||
*
|
||||
* Note: this is typically called to complete `lib_override_linked_group_tag()`.
|
||||
* Note: BMain's relations mapping won't be valid anymore after that call.
|
||||
|
@ -464,8 +464,8 @@ static bool lib_override_hierarchy_dependencies_recursive_tag(Main *bmain,
|
|||
|
||||
/* This will tag at least all 'boundary' linked IDs for a potential override group.
|
||||
*
|
||||
* Note that you will then need to call `lib_override_hierarchy_dependencies_recursive_tag` to
|
||||
* complete tagging of all dependencies whitin theoverride group.
|
||||
* Note that you will then need to call #lib_override_hierarchy_dependencies_recursive_tag to
|
||||
* complete tagging of all dependencies within the override group.
|
||||
*
|
||||
* We currently only consider Collections and Objects (that are not used as bone shapes) as valid
|
||||
* boundary IDs to define an override group.
|
||||
|
@ -483,7 +483,7 @@ static void lib_override_linked_group_tag(Main *bmain,
|
|||
BKE_library_foreach_ID_link(
|
||||
bmain, id, lib_override_linked_group_tag_cb, &data, IDWALK_READONLY | IDWALK_RECURSE);
|
||||
|
||||
/* Then, we remove (untag) bone shape objects, you shall never want to directly/explicitely
|
||||
/* Then, we remove (untag) bone shape objects, you shall never want to directly/explicitly
|
||||
* override those. */
|
||||
LISTBASE_FOREACH (Object *, ob, &bmain->objects) {
|
||||
if (ob->type == OB_ARMATURE && ob->pose != NULL && (ob->id.tag & tag)) {
|
||||
|
@ -559,8 +559,8 @@ static int lib_override_local_group_tag_cb(LibraryIDLinkCallbackData *cb_data)
|
|||
|
||||
/* This will tag at least all 'boundary' linked IDs for a potential override group.
|
||||
*
|
||||
* Note that you will then need to call `lib_override_hierarchy_dependencies_recursive_tag` to
|
||||
* complete tagging of all dependencies whitin theoverride group.
|
||||
* Note that you will then need to call #lib_override_hierarchy_dependencies_recursive_tag to
|
||||
* complete tagging of all dependencies within the override group.
|
||||
*
|
||||
* We currently only consider Collections and Objects (that are not used as bone shapes) as valid
|
||||
* boundary IDs to define an override group.
|
||||
|
|
|
@ -586,7 +586,7 @@ UndoPushReturn BKE_undosys_step_push_with_type(UndoStack *ustack,
|
|||
BLI_strncpy(us->name, name, sizeof(us->name));
|
||||
}
|
||||
us->type = ut;
|
||||
/* True by default, code needs to explicitely set it to false if necessary. */
|
||||
/* True by default, code needs to explicitly set it to false if necessary. */
|
||||
us->use_old_bmain_data = true;
|
||||
/* Initialized, not added yet. */
|
||||
|
||||
|
|
|
@ -1197,7 +1197,7 @@ static void rearrange_nla_channels(bAnimContext *ac, AnimData *adt, eRearrangeAn
|
|||
rearrange_animchannel_islands(
|
||||
&adt->nla_tracks, rearrange_func, mode, ANIMTYPE_NLATRACK, &anim_data_visible);
|
||||
|
||||
/* Add back non-local NLA tracks at the begining of the animation data's list. */
|
||||
/* Add back non-local NLA tracks at the beginning of the animation data's list. */
|
||||
if (!BLI_listbase_is_empty(&extracted_nonlocal_nla_tracks)) {
|
||||
BLI_assert(is_liboverride);
|
||||
((NlaTrack *)extracted_nonlocal_nla_tracks.last)->next = adt->nla_tracks.first;
|
||||
|
|
|
@ -994,7 +994,7 @@ static void clip_main_region_draw(const bContext *C, ARegion *region)
|
|||
|
||||
/* callback */
|
||||
/* TODO(sergey): For being consistent with space image the projection needs to be configured
|
||||
* the way how the commented out code does it. This works corrent for tracking data, but it
|
||||
* the way how the commented out code does it. This works correct for tracking data, but it
|
||||
* causes wrong aspect correction for mask editor (see T84990). */
|
||||
// GPU_matrix_push_projection();
|
||||
// wmOrtho2(region->v2d.cur.xmin, region->v2d.cur.xmax, region->v2d.cur.ymin,
|
||||
|
|
Loading…
Reference in New Issue