diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-12 12:51:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-12 12:51:16 +0300 |
commit | 2aa7edbe6b4428d8f7915a9dc402d1209a4b114b (patch) | |
tree | 90d0d1b824388f5a787ac7ee8ae0ca6a1f5fd03d /source | |
parent | 15405685d9a0111588a769fdba98e3d34464513f (diff) |
Cleanup: spelling
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_anonymous_attribute.hh | 2 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_300.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_action/action_edit.c | 4 | ||||
-rw-r--r-- | source/blender/functions/FN_field.hh | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_anonymous_attribute.hh b/source/blender/blenkernel/BKE_anonymous_attribute.hh index 201fa2b2f52..56e6335c7c0 100644 --- a/source/blender/blenkernel/BKE_anonymous_attribute.hh +++ b/source/blender/blenkernel/BKE_anonymous_attribute.hh @@ -120,7 +120,7 @@ template<bool IsStrongReference> class OwnedAnonymousAttributeID { return BKE_anonymous_attribute_id_has_strong_references(data_); } - /** Extract the onwership of the currently wrapped anonymous id. */ + /** Extract the ownership of the currently wrapped anonymous id. */ const AnonymousAttributeID *extract() { const AnonymousAttributeID *extracted_data = data_; diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c index b474209e618..6b8f011e9fc 100644 --- a/source/blender/blenloader/intern/versioning_300.c +++ b/source/blender/blenloader/intern/versioning_300.c @@ -685,7 +685,7 @@ static bool geometry_node_is_293_legacy(const short node_type) case GEO_NODE_COLLECTION_INFO: return false; - /* Maybe legacy: Transfered *all* attributes before, will not transfer all built-ins now. */ + /* Maybe legacy: Transferred *all* attributes before, will not transfer all built-ins now. */ case GEO_NODE_CURVE_ENDPOINTS: case GEO_NODE_CURVE_TO_POINTS: return false; @@ -732,7 +732,7 @@ static bool geometry_node_is_293_legacy(const short node_type) return true; /* Legacy: More complex attribute inputs or outputs. */ - case GEO_NODE_LEGACY_DELETE_GEOMETRY: /* Needs field input, domain dropdown. */ + case GEO_NODE_LEGACY_DELETE_GEOMETRY: /* Needs field input, domain drop-down. */ case GEO_NODE_LEGACY_CURVE_SUBDIVIDE: /* Needs field count input. */ case GEO_NODE_LEGACY_POINTS_TO_VOLUME: /* Needs field radius input. */ case GEO_NODE_LEGACY_SELECT_BY_MATERIAL: /* Output anonymous attribute. */ diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c index 6f4e295cbb2..3e38be243c9 100644 --- a/source/blender/editors/space_action/action_edit.c +++ b/source/blender/editors/space_action/action_edit.c @@ -192,7 +192,7 @@ static bool get_keyframe_extents(bAnimContext *ac, float *min, float *max, const bGPDlayer *gpl = ale->data; bGPDframe *gpf; - /* find gp-frame which is less than or equal to cframe */ + /* Find gp-frame which is less than or equal to current-frame. */ for (gpf = gpl->frames.first; gpf; gpf = gpf->next) { const float framenum = (float)gpf->framenum; *min = min_ff(*min, framenum); @@ -204,7 +204,7 @@ static bool get_keyframe_extents(bAnimContext *ac, float *min, float *max, const MaskLayer *masklay = ale->data; MaskLayerShape *masklay_shape; - /* find mask layer which is less than or equal to cframe */ + /* Find mask layer which is less than or equal to current-frame. */ for (masklay_shape = masklay->splines_shapes.first; masklay_shape; masklay_shape = masklay_shape->next) { const float framenum = (float)masklay_shape->frame; diff --git a/source/blender/functions/FN_field.hh b/source/blender/functions/FN_field.hh index 976d260d91b..730a8046646 100644 --- a/source/blender/functions/FN_field.hh +++ b/source/blender/functions/FN_field.hh @@ -37,7 +37,7 @@ * use is to compose multiple existing fields into new fields. * * When fields are evaluated, they are converted into a multi-function procedure which allows - * efficient compution. In the future, we might support different field evaluation mechanisms for + * efficient computation. In the future, we might support different field evaluation mechanisms for * e.g. the following scenarios: * - Latency of a single evaluation is more important than throughput. * - Evaluation should happen on other hardware like GPUs. diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 77ab2b67f3d..a2433dbbbbd 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -303,7 +303,7 @@ typedef struct Curve { /** * A pointer to curve data from evaluation. Owned by the object's #geometry_set_eval, either as a - * geometry instance or the data of the evalauted #CurveComponent. The curve may also contain + * geometry instance or the data of the evaluated #CurveComponent. The curve may also contain * data in the #nurb list, but for evaluated curves this is the proper place to retrieve data, * since it also contains the result of geometry nodes evaluation, and isn't just a copy of the * original object data. |