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;
/**
* 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.
*/
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) {
/* 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. */
gather_sample(screen_uv,
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);
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)
*/
if (strstr(op->idname, "assign")) {

View File

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

View File

@@ -171,7 +171,7 @@ static bool ui_mouse_motion_keynav_test(struct uiKeyNavLock *keynav, const wmEve
/* pixels to move the cursor to get out of keyboard navigation */
#define BUTTON_KEYNAV_PX_LIMIT 8
#define MENU_TOWARDS_MARGIN 20 /* margin in pixels */
#define MENU_TOWARDS_MARGIN 20 /* margin in pixels */
#define MENU_TOWARDS_WIGGLE_ROOM 64 /* tolerance in pixels */
/* drag-lock distance threshold in pixels */
#define BUTTON_DRAGLOCK_THRESH 3
@@ -365,7 +365,7 @@ typedef struct uiHandleButtonData {
/* Button text selection:
* extension direction, selextend, inside ui_do_but_TEX */
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;
/* number editing / dragging */

View File

@@ -346,7 +346,7 @@ void outliner_collection_delete(
/* Test in case collection got deleted as part of another one. */
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. */
bool skip = false;
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. */
PointerRNA c_ptr;
BPy_PropertyRNA *value_prop = (BPy_PropertyRNA *)value;