Cleanup: spelling
This commit is contained in:
@@ -1134,7 +1134,7 @@ FModifier *add_fmodifier(ListBase *modifiers, int type, FCurve *owner_fcu)
|
||||
/* add modifier itself */
|
||||
fcm = MEM_callocN(sizeof(FModifier), "F-Curve Modifier");
|
||||
fcm->type = type;
|
||||
fcm->ui_expand_flag = UI_PANEL_DATA_EXPAND_ROOT; /* Expand the main panel, not the subpanels. */
|
||||
fcm->ui_expand_flag = UI_PANEL_DATA_EXPAND_ROOT; /* Expand the main panel, not the sub-panels. */
|
||||
fcm->curve = owner_fcu;
|
||||
fcm->influence = 1.0f;
|
||||
BLI_addtail(modifiers, fcm);
|
||||
|
||||
@@ -190,7 +190,7 @@ static PanelType *fmodifier_panel_register(ARegionType *region_type,
|
||||
panel_type->poll = poll;
|
||||
|
||||
/* Give the panel the special flag that says it was built here and corresponds to a
|
||||
* modifer rather than a PanelType. */
|
||||
* modifier rather than a #PanelType. */
|
||||
panel_type->flag = PANEL_TYPE_HEADER_EXPAND | PANEL_TYPE_DRAW_BOX | PANEL_TYPE_INSTANCED;
|
||||
panel_type->reorder = fmodifier_reorder;
|
||||
panel_type->get_list_data_expand_flag = get_fmodifier_expand_flag;
|
||||
@@ -596,7 +596,7 @@ static void panel_register_noise(ARegionType *region_type,
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Enevelope Modifier
|
||||
/** \name Envelope Modifier
|
||||
* \{ */
|
||||
|
||||
static void fmod_envelope_addpoint_cb(bContext *C, void *fcm_dv, void *UNUSED(arg))
|
||||
@@ -898,7 +898,7 @@ static void panel_register_stepped(ARegionType *region_type,
|
||||
* \{ */
|
||||
|
||||
/**
|
||||
* Checks if the panels match the active strip / curve, rebubilds them if they don't.
|
||||
* Checks if the panels match the active strip / curve, rebuilds them if they don't.
|
||||
*/
|
||||
void ANIM_fmodifier_panels(const bContext *C,
|
||||
ID *owner_id,
|
||||
|
||||
@@ -7927,7 +7927,7 @@ static void button_activate_state(bContext *C, uiBut *but, uiHandleButtonState s
|
||||
|
||||
button_tooltip_timer_reset(C, but);
|
||||
|
||||
/* automatic open pulldown block timer */
|
||||
/* Automatic open pull-down block timer. */
|
||||
if (ELEM(but->type, UI_BTYPE_BLOCK, UI_BTYPE_PULLDOWN, UI_BTYPE_POPOVER) ||
|
||||
/* Menu button types may draw as popovers, check for this case
|
||||
* ignoring other kinds of menus (mainly enums). (see T66538). */
|
||||
|
||||
@@ -353,7 +353,7 @@ static void ui_popup_block_position(wmWindow *window,
|
||||
block->direction = dir1;
|
||||
}
|
||||
|
||||
/* keep a list of these, needed for pulldown menus */
|
||||
/* Keep a list of these, needed for pull-down menus. */
|
||||
uiSafetyRct *saferct = MEM_callocN(sizeof(uiSafetyRct), "uiSafetyRct");
|
||||
saferct->parent = butrct;
|
||||
saferct->safety = block->safety;
|
||||
@@ -632,7 +632,7 @@ uiBlock *ui_popup_block_refresh(bContext *C,
|
||||
}
|
||||
else {
|
||||
uiSafetyRct *saferct;
|
||||
/* keep a list of these, needed for pulldown menus */
|
||||
/* Keep a list of these, needed for pull-down menus. */
|
||||
saferct = MEM_callocN(sizeof(uiSafetyRct), "uiSafetyRct");
|
||||
saferct->safety = block->safety;
|
||||
BLI_addhead(&block->saferct, saferct);
|
||||
|
||||
@@ -3414,7 +3414,7 @@ static void outliner_draw_highlights_recursive(uint pos,
|
||||
}
|
||||
else {
|
||||
if (is_searching && (tselem->flag & TSE_SEARCHMATCH)) {
|
||||
/* Ssearch match highlights. We don't expand items when searching in the data-blocks,
|
||||
/* Search match highlights. We don't expand items when searching in the data-blocks,
|
||||
* but we still want to highlight any filter matches. */
|
||||
immUniformColor4fv(col_searchmatch);
|
||||
immRecti(pos, start_x, start_y, end_x, start_y + UI_UNIT_Y);
|
||||
|
||||
@@ -58,8 +58,8 @@ typedef struct FModifier {
|
||||
/** Settings for the modifier. */
|
||||
short flag;
|
||||
/**
|
||||
* Expansion state for the modifier panel and its subpanels, stored as a bitfield
|
||||
* in depth-first order. (Maximum of sizeof(short) total panels).
|
||||
* Expansion state for the modifier panel and its sub-panels, stored as a bit-field
|
||||
* in depth-first order. (Maximum of `sizeof(short)` total panels).
|
||||
*/
|
||||
short ui_expand_flag;
|
||||
|
||||
|
||||
@@ -7668,7 +7668,7 @@ PyObject *BPY_rna_doc(void)
|
||||
* This could be a static variable as we only have one `bpy.types` module,
|
||||
* it just keeps the data isolated to store in the module it's self.
|
||||
*
|
||||
* This data doesn't chance one initialized.
|
||||
* This data doesn't change one initialized.
|
||||
*/
|
||||
struct BPy_TypesModule_State {
|
||||
/** `RNA_BlenderRNA`. */
|
||||
|
||||
Reference in New Issue
Block a user