[Bf-blender-cvs] [c9b06505d8d] master: Cleanup: Grammar in comments

Hans Goudey noreply at git.blender.org
Thu Dec 29 02:39:21 CET 2022


Commit: c9b06505d8d56e2b599cf60f47ee3baa413c31fa
Author: Hans Goudey
Date:   Wed Dec 28 20:39:14 2022 -0500
Branches: master
https://developer.blender.org/rBc9b06505d8d56e2b599cf60f47ee3baa413c31fa

Cleanup: Grammar in comments

"spend" is a verb, not a noun.

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

M	source/blender/blenkernel/BKE_subdiv.h
M	source/blender/depsgraph/intern/node/deg_node.h
M	source/blender/nodes/NOD_geometry_nodes_log.hh

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

diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h
index 5a6e8cbb64a..97bcab8a3a2 100644
--- a/source/blender/blenkernel/BKE_subdiv.h
+++ b/source/blender/blenkernel/BKE_subdiv.h
@@ -88,9 +88,9 @@ typedef enum eSubdivStatsValue {
 typedef struct SubdivStats {
   union {
     struct {
-      /* Time spend on creating topology refiner, which includes time
+      /* Time spent on creating topology refiner, which includes time
        * spend on conversion from Blender data to OpenSubdiv data, and
-       * time spend on topology orientation on OpenSubdiv C-API side. */
+       * time spent on topology orientation on OpenSubdiv C-API side. */
       double topology_refiner_creation_time;
       /* Total time spent in BKE_subdiv_to_mesh(). */
       double subdiv_to_mesh_time;
diff --git a/source/blender/depsgraph/intern/node/deg_node.h b/source/blender/depsgraph/intern/node/deg_node.h
index e31c1769a2a..c28897a5ad4 100644
--- a/source/blender/depsgraph/intern/node/deg_node.h
+++ b/source/blender/depsgraph/intern/node/deg_node.h
@@ -161,7 +161,7 @@ struct Node {
     /* Reset counters needed for the current graph evaluation, does not
      * touch averaging accumulators. */
     void reset_current();
-    /* Time spend on this node during current graph evaluation. */
+    /* Time spent on this node during current graph evaluation. */
     double current_time;
   };
   /* Relationships between nodes
diff --git a/source/blender/nodes/NOD_geometry_nodes_log.hh b/source/blender/nodes/NOD_geometry_nodes_log.hh
index cfcecc31276..d99dff21c6d 100644
--- a/source/blender/nodes/NOD_geometry_nodes_log.hh
+++ b/source/blender/nodes/NOD_geometry_nodes_log.hh
@@ -230,7 +230,7 @@ class GeoNodeLog {
   /** Warnings generated for that node. */
   Vector<NodeWarning> warnings;
   /**
-   * Time spend in that node. For node groups this is the sum of the run times of the nodes
+   * Time spent in this node. For node groups this is the sum of the run times of the nodes
    * inside.
    */
   std::chrono::nanoseconds run_time{0};



More information about the Bf-blender-cvs mailing list