diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-29 06:58:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-29 06:58:16 +0300 |
commit | 58b8724a48929176398b081acce448d69f3d14e5 (patch) | |
tree | b50e43f142495244a3cf482c3e93607b2abca55b /source/blender | |
parent | b150071ece73735d814dc369500be27db03f1005 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender')
4 files changed, 13 insertions, 14 deletions
diff --git a/source/blender/blenkernel/intern/anim_data.c b/source/blender/blenkernel/intern/anim_data.c index e7c6e00a61f..cf16da285ae 100644 --- a/source/blender/blenkernel/intern/anim_data.c +++ b/source/blender/blenkernel/intern/anim_data.c @@ -167,14 +167,14 @@ AnimData *BKE_animdata_add_id(ID *id) /* Action Setter --------------------------------------- */ /** - * Called when user tries to change the active action of an AnimData block + * Called when user tries to change the active action of an #AnimData block * (via RNA, Outliner, etc.) * - * \param reports can be NULL. - * \param id the owner of the animation data - * \param act the Action to set, or NULL to clear. + * \param reports: Can be NULL. + * \param id: The owner of the animation data + * \param act: The Action to set, or NULL to clear. * - * Return true when the action was succesfully updated, false otherwise. + * \return true when the action was successfully updated, false otherwise. */ bool BKE_animdata_set_action(ReportList *reports, ID *id, bAction *act) { diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c index 0251dc17fcd..a630d227f17 100644 --- a/source/blender/makesrna/intern/rna_access_compare_override.c +++ b/source/blender/makesrna/intern/rna_access_compare_override.c @@ -146,7 +146,7 @@ bool RNA_property_copy( PropertyRNA *prop_src = prop; /* Ensure we get real property data, - * be it an actual RNA property, or an IDProperty in disguise. */ + * be it an actual RNA property, or an #IDProperty in disguise. */ prop_dst = rna_ensure_property_realdata(&prop_dst, ptr); prop_src = rna_ensure_property_realdata(&prop_src, fromptr); @@ -916,10 +916,10 @@ static void rna_property_override_apply_ex(Main *bmain, /* This is rather fragile, but the fact that local override IDs may have a different name * than their linked reference makes it necessary. * Basically, here we are considering that if we cannot find the original linked ID in - * the local override we are (re-)applying the operations, then it may be because soe of + * the local override we are (re-)applying the operations, then it may be because of * those operations have already been applied, and we may already have the local ID * pointer we want to set. - * This happens e.g. during resync of an override, since we have already remapped all ID + * This happens e.g. during re-sync of an override, since we have already remapped all ID * pointers to their expected values. * In that case we simply try to get the property from the local expected name. */ } diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c index a7aa8ccdf71..2f98c751f26 100644 --- a/source/blender/makesrna/intern/rna_rna.c +++ b/source/blender/makesrna/intern/rna_rna.c @@ -1779,7 +1779,7 @@ int rna_property_override_diff_default(Main *bmain, if (use_collection_insertion) { /* We need to clean up all possible existing insertion operations, and then re-generate - * them, otherwise we'd end up with a mess of opops every time something changes. */ + * them, otherwise we'd end up with a mess of opop's every time something changes. */ op = BKE_lib_override_library_property_find(override, rna_path); if (op != NULL) { LISTBASE_FOREACH_MUTABLE (IDOverrideLibraryPropertyOperation *, opop, &op->operations) { diff --git a/source/blender/windowmanager/intern/wm_gesture_ops.c b/source/blender/windowmanager/intern/wm_gesture_ops.c index 25de76d4428..591f95926d4 100644 --- a/source/blender/windowmanager/intern/wm_gesture_ops.c +++ b/source/blender/windowmanager/intern/wm_gesture_ops.c @@ -793,15 +793,14 @@ void WM_OT_lasso_gesture(wmOperatorType *ot) /* -------------------------------------------------------------------- */ /** \name Straight Line Gesture * - * Gesture defined by the start and end points of a line that is created between the posistion of + * Gesture defined by the start and end points of a line that is created between the position of * the initial event and the position of the current event. * * Straight Line Gesture has two modal callbacks depending on the tool that is being implemented: a * regular modal callback intended to update the data during the execution of the gesture and a - * oneshot callback that only updates the data once when the gesture finishes. - * - * It stores 4 values (xstart, ystart, xend, yend). + * one-shot callback that only updates the data once when the gesture finishes. * + * It stores 4 values: `xstart, ystart, xend, yend`. * \{ */ static bool gesture_straightline_apply(bContext *C, wmOperator *op) @@ -902,7 +901,7 @@ int WM_gesture_straightline_modal(bContext *C, wmOperator *op, const wmEvent *ev } /** - * This modal oneshot callback only calls exec once after the gesture finishes without any updates + * This modal one-shot callback only calls exec once after the gesture finishes without any updates * during the gesture execution. Should be used for operations that are intended to be applied once * without real time preview (like a trimming tool that only applies the bisect operation once * after finishing the gesture as the bisect operation is too heavy to be computed in real time for |