diff options
-rw-r--r-- | source/blender/blenkernel/intern/fmodifier.c | 2 | ||||
-rw-r--r-- | source/blender/editors/animation/fmodifier_ui.c | 6 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_region_popup.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 4 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenkernel/intern/fmodifier.c b/source/blender/blenkernel/intern/fmodifier.c index 4cd49987a83..8d1e6b26d4d 100644 --- a/source/blender/blenkernel/intern/fmodifier.c +++ b/source/blender/blenkernel/intern/fmodifier.c @@ -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); diff --git a/source/blender/editors/animation/fmodifier_ui.c b/source/blender/editors/animation/fmodifier_ui.c index f521b89450e..0821cfbd282 100644 --- a/source/blender/editors/animation/fmodifier_ui.c +++ b/source/blender/editors/animation/fmodifier_ui.c @@ -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, diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 6b634eedd7a..3a4eda29206 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -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). */ diff --git a/source/blender/editors/interface/interface_region_popup.c b/source/blender/editors/interface/interface_region_popup.c index 3228e9741bb..8135f5a203e 100644 --- a/source/blender/editors/interface/interface_region_popup.c +++ b/source/blender/editors/interface/interface_region_popup.c @@ -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); diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 031c94689b0..008ae727947 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -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); diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index c9abb4fb5be..dffb3588de4 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -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; diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index ad185226aa5..311a7afef01 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -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`. */ |