Cleanup: Grammar: "Allow to" vs gerund missed in last commit

This commit is contained in:
2020-11-18 16:31:15 -05:00
parent 8f30a88e63
commit e9ddb21df3
7 changed files with 8 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ typedef struct Main {
*/ */
char is_memfile_undo_flush_needed; char is_memfile_undo_flush_needed;
/** /**
* Indicates that next memfile undo step should not allow to re-use old bmain when re-read, but * Indicates that next memfile undo step should not allow reusing old bmain when re-read, but
* instead do a complete full re-read/update from stored memfile. * instead do a complete full re-read/update from stored memfile.
*/ */
char use_memfile_full_barrier; char use_memfile_full_barrier;

View File

@@ -161,7 +161,7 @@ void gather_blur(vec2 screen_uv,
for (i = 0, t = ofs * inc; i < KERNEL; i++, t += inc) { for (i = 0, t = ofs * inc; i < KERNEL; i++, t += inc) {
/* Also sample in center motion direction. /* Also sample in center motion direction.
* Allow to recover motion where there is conflicting * Allow recovering motion where there is conflicting
* motion between foreground and background. */ * motion between foreground and background. */
gather_sample(screen_uv, gather_sample(screen_uv,
center_depth, center_depth,

View File

@@ -159,7 +159,7 @@ static int pose_groups_menu_invoke(bContext *C, wmOperator *op, const wmEvent *U
pup = UI_popup_menu_begin(C, op->type->name, ICON_NONE); pup = UI_popup_menu_begin(C, op->type->name, ICON_NONE);
layout = UI_popup_menu_layout(pup); layout = UI_popup_menu_layout(pup);
/* special entry - allow to create new group, then use that /* special entry - allow creating a new group, then using that
* (not to be used for removing though) * (not to be used for removing though)
*/ */
if (strstr(op->idname, "assign")) { if (strstr(op->idname, "assign")) {

View File

@@ -22,7 +22,7 @@
* \ingroup edgpencil * \ingroup edgpencil
*/ */
/* allow to use deprecated functionality */ /* Allow using deprecated functionality. */
#define DNA_DEPRECATED_ALLOW #define DNA_DEPRECATED_ALLOW
#include <stdio.h> #include <stdio.h>

View File

@@ -365,7 +365,7 @@ typedef struct uiHandleButtonData {
/* Button text selection: /* Button text selection:
* extension direction, selextend, inside ui_do_but_TEX */ * extension direction, selextend, inside ui_do_but_TEX */
int sel_pos_init; int sel_pos_init;
/* allow to realloc str/editstr and use 'maxlen' to track alloc size (maxlen + 1) */ /* Allow reallocating str/editstr and using 'maxlen' to track alloc size (maxlen + 1) */
bool is_str_dynamic; bool is_str_dynamic;
/* number editing / dragging */ /* number editing / dragging */

View File

@@ -346,7 +346,7 @@ void outliner_collection_delete(
/* Test in case collection got deleted as part of another one. */ /* Test in case collection got deleted as part of another one. */
if (BLI_findindex(&bmain->collections, collection) != -1) { if (BLI_findindex(&bmain->collections, collection) != -1) {
/* We cannot allow to delete collections that are indirectly linked, /* We cannot allow deleting collections that are indirectly linked,
* or that are used by (linked to...) other linked scene/collection. */ * or that are used by (linked to...) other linked scene/collection. */
bool skip = false; bool skip = false;
if (ID_IS_LINKED(collection)) { if (ID_IS_LINKED(collection)) {

View File

@@ -1990,7 +1990,7 @@ static int pyrna_py_to_prop(
} }
} }
/* Another exception, allow to pass a collection as an RNA property. */ /* Another exception, allow passing a collection as an RNA property. */
if (Py_TYPE(value) == &pyrna_prop_collection_Type) { /* Ok to ignore idprop collections. */ if (Py_TYPE(value) == &pyrna_prop_collection_Type) { /* Ok to ignore idprop collections. */
PointerRNA c_ptr; PointerRNA c_ptr;
BPy_PropertyRNA *value_prop = (BPy_PropertyRNA *)value; BPy_PropertyRNA *value_prop = (BPy_PropertyRNA *)value;