Cleanup: spelling in comments
This commit is contained in:
@@ -2415,7 +2415,7 @@ static void lib_override_resync_tagging_finalize_recurse(Main *bmain,
|
||||
}
|
||||
}
|
||||
else if (id_root->tag & LIB_TAG_LIBOVERRIDE_NEED_RESYNC) {
|
||||
/* Not yet whithin a partial resync hierarchy, and this ID is tagged for resync, it is a
|
||||
/* Not yet within a partial resync hierarchy, and this ID is tagged for resync, it is a
|
||||
* potential partial resync root. */
|
||||
is_in_partial_resync_hierarchy = true;
|
||||
}
|
||||
@@ -2524,7 +2524,7 @@ static void lib_override_resync_tagging_finalize(Main *bmain,
|
||||
ID *id_iter;
|
||||
|
||||
/* Tag all IDs to be processed, which are real liboverrides part of a hierarchy, and not the
|
||||
* root of their hierarchy, as potentially isolated from ther hierarchy root. */
|
||||
* root of their hierarchy, as potentially isolated from their hierarchy root. */
|
||||
FOREACH_MAIN_ID_BEGIN (bmain, id_iter) {
|
||||
if (lib_override_library_main_resync_id_skip_check(id_iter, library_indirect_level)) {
|
||||
continue;
|
||||
@@ -2911,7 +2911,7 @@ static bool lib_override_library_main_resync_on_library_indirect_level(
|
||||
}
|
||||
else {
|
||||
/* If it was only tagged for resync as part of resync process itself, it means it was
|
||||
* originaly inside of a resync hierarchy, but not in the matching reference hierarchy
|
||||
* originally inside of a resync hierarchy, but not in the matching reference hierarchy
|
||||
* anymore. So it did not actually need to be resynced, simply clear the tag. */
|
||||
CLOG_INFO(&LOG,
|
||||
4,
|
||||
@@ -2925,7 +2925,7 @@ static bool lib_override_library_main_resync_on_library_indirect_level(
|
||||
}
|
||||
}
|
||||
else if (need_reseync_original) {
|
||||
/* Just cleanup of temporary tag, the ID has been resynced sucessfully. */
|
||||
/* Just cleanup of temporary tag, the ID has been resynced successfully. */
|
||||
id->override_library->runtime->tag &= ~LIBOVERRIDE_TAG_NEED_RESYNC_ORIGINAL;
|
||||
}
|
||||
else if (is_isolated_from_root) {
|
||||
|
||||
@@ -41,7 +41,7 @@ bool operator==(const CachedMaskKey &a, const CachedMaskKey &b);
|
||||
* Cached Mask.
|
||||
*
|
||||
* A cached resource that computes and caches a GPU texture containing the result of evaluating the
|
||||
* given mask ID on a space that spans the given size, parametrized by the given parameters. */
|
||||
* given mask ID on a space that spans the given size, parameterized by the given parameters. */
|
||||
class CachedMask : public CachedResource {
|
||||
private:
|
||||
GPUTexture *texture_ = nullptr;
|
||||
|
||||
@@ -40,7 +40,7 @@ bool operator==(const CachedTextureKey &a, const CachedTextureKey &b);
|
||||
* Cached Texture.
|
||||
*
|
||||
* A cached resource that computes and caches a GPU texture containing the result of evaluating the
|
||||
* given texture ID on a space that spans the given size, parametrized by the given parameters. */
|
||||
* given texture ID on a space that spans the given size, parameterized by the given parameters. */
|
||||
class CachedTexture : public CachedResource {
|
||||
private:
|
||||
GPUTexture *color_texture_ = nullptr;
|
||||
|
||||
@@ -412,7 +412,7 @@ static void pose_slide_apply_val(tPoseSlideOp *pso, FCurve *fcu, Object *ob, flo
|
||||
case POSESLIDE_BLEND: /* Blend the current pose with the previous (<50%) or next key (>50%). */
|
||||
{
|
||||
const float current_frame_y = evaluate_fcurve(fcu, current_frame);
|
||||
/* Convert factor to absolute 0-1 range which is needed for lerpf. */
|
||||
/* Convert factor to absolute 0-1 range which is needed for `interpf`. */
|
||||
const float blend_factor = fabs((factor - 0.5f) * 2);
|
||||
|
||||
if (factor < 0.5) {
|
||||
|
||||
Reference in New Issue
Block a user