[Bf-blender-cvs] [e9ddb21df35] master: Cleanup: Grammar: "Allow to" vs gerund missed in last commit

Hans Goudey noreply at git.blender.org
Wed Nov 18 22:31:32 CET 2020


Commit: e9ddb21df356e1c6c21297aa463cdd6bfda8868c
Author: Hans Goudey
Date:   Wed Nov 18 16:31:15 2020 -0500
Branches: master
https://developer.blender.org/rBe9ddb21df356e1c6c21297aa463cdd6bfda8868c

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

===================================================================

M	source/blender/blenkernel/BKE_main.h
M	source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl
M	source/blender/editors/armature/pose_group.c
M	source/blender/editors/gpencil/gpencil_ops_versioning.c
M	source/blender/editors/interface/interface_handlers.c
M	source/blender/editors/space_outliner/outliner_collections.c
M	source/blender/python/intern/bpy_rna.c

===================================================================

diff --git a/source/blender/blenkernel/BKE_main.h b/source/blender/blenkernel/BKE_main.h
index a0535c91905..8106607572b 100644
--- a/source/blender/blenkernel/BKE_main.h
+++ b/source/blender/blenkernel/BKE_main.h
@@ -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;
diff --git a/source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl b/source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl
index 3501a4448c5..312d9f63ce0 100644
--- a/source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl
+++ b/source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl
@@ -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,
diff --git a/source/blender/editors/armature/pose_group.c b/source/blender/editors/armature/pose_group.c
index ffa28bf9e36..1e5004ba341 100644
--- a/source/blender/editors/armature/pose_group.c
+++ b/source/blender/editors/armature/pose_group.c
@@ -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")) {
diff --git a/source/blender/editors/gpencil/gpencil_ops_versioning.c b/source/blender/editors/gpencil/gpencil_ops_versioning.c
index 2dd98bb8df1..4721736489e 100644
--- a/source/blender/editors/gpencil/gpencil_ops_versioning.c
+++ b/source/blender/editors/gpencil/gpencil_ops_versioning.c
@@ -22,7 +22,7 @@
  * \ingroup edgpencil
  */
 
-/* allow to use deprecated functionality */
+/* Allow using deprecated functionality. */
 #define DNA_DEPRECATED_ALLOW
 
 #include <stdio.h>
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 58bc3960f26..7dd6e400ae7 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -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 */
diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c
index 670b58db0e0..e686648038d 100644
--- a/source/blender/editors/space_outliner/outliner_collections.c
+++ b/source/blender/editors/space_outliner/outliner_collections.c
@@ -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)) {
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 6e41bc96eed..a2125a5dff9 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -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;



More information about the Bf-blender-cvs mailing list