Cleanup: spelling
This commit is contained in:
parent
b150071ece
commit
58b8724a48
Notes:
blender-bot
2023-02-14 09:34:18 +01:00
Referenced by commit d858859402
, Cleanup: spelling
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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. */
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue