Cleanup: spelling in comments

This commit is contained in:
Campbell Barton 2021-11-11 14:59:30 +11:00
parent ddf0bacaa9
commit d753ebd40a
4 changed files with 4 additions and 4 deletions

View File

@ -1279,7 +1279,7 @@ static void add_shapekey_layers(Mesh *mesh_dest, Mesh *mesh_src)
/**
* \param use_virtual_modifiers: When enabled calculate virtual-modifiers before applying `md_eval`
* support this since virtual-modieirs are not modifiers from auser perspective,
* support this since virtual-modifiers are not modifiers from a user perspective,
* allowing shape keys to be included with the modifier being applied, see: T91923.
*/
Mesh *BKE_mesh_create_derived_for_modifier(struct Depsgraph *depsgraph,

View File

@ -1775,7 +1775,7 @@ static void object_update_from_subsurf_ccg(Object *object)
* it is orig as in what was in object_eval->data before evaluating
* modifier stack.
*
* mesh_cow is a copy-on-written version od object_orig->data.
* mesh_cow is a copy-on-written version of `object_orig->data`.
*/
Mesh *mesh_cow = (Mesh *)object->runtime.data_orig;
copy_ccg_data(mesh_cow, mesh_orig, CD_MDISPS);

View File

@ -1484,7 +1484,7 @@ PreviewImage *UI_icon_to_preview(int icon_id)
/**
* Version of #icon_draw_rect() that uses the GPU for scaling. This is only used for
* #ICON_TYPE_IMBUF because it's a backported fix for performance issues, see T92922. Only
* #ICON_TYPE_IMBUF because it's a back-ported fix for performance issues, see T92922. Only
* File/Asset Browser use #ICON_TYPE_IMBUF right now, which makes implications more predictable.
*
* TODO(Julian): This code is mostly duplicated. #icon_draw_rect() should be ported to use the GPU

View File

@ -997,7 +997,7 @@ void ED_spacetype_sequencer(void)
art->draw_overlay = sequencer_main_region_draw_overlay;
art->listener = sequencer_main_region_listener;
art->message_subscribe = sequencer_main_region_message_subscribe;
/* NOTE: inclusion of #ED_KEYMAP_GIZMO is currenlty for scripts and isn't used by default. */
/* NOTE: inclusion of #ED_KEYMAP_GIZMO is currently for scripts and isn't used by default. */
art->keymapflag = ED_KEYMAP_TOOL | ED_KEYMAP_GIZMO | ED_KEYMAP_VIEW2D | ED_KEYMAP_FRAMES |
ED_KEYMAP_ANIMATION;
BLI_addhead(&st->regiontypes, art);