[Bf-blender-cvs] [9d9c05a1010] master: Cleanup: spelling in comments

Campbell Barton noreply at git.blender.org
Tue Aug 16 02:51:30 CEST 2022


Commit: 9d9c05a10106ea08cf5082633a5dd0a007d860ba
Author: Campbell Barton
Date:   Tue Aug 16 10:37:34 2022 +1000
Branches: master
https://developer.blender.org/rB9d9c05a10106ea08cf5082633a5dd0a007d860ba

Cleanup: spelling in comments

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

M	intern/ghost/intern/GHOST_ISystem.cpp
M	source/blender/blenkernel/intern/tracking_stabilize.c
M	source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
M	source/blender/editors/include/ED_sculpt.h
M	source/blender/editors/sculpt_paint/sculpt_intern.h

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

diff --git a/intern/ghost/intern/GHOST_ISystem.cpp b/intern/ghost/intern/GHOST_ISystem.cpp
index 03bdcd2fc82..13eccf661f5 100644
--- a/intern/ghost/intern/GHOST_ISystem.cpp
+++ b/intern/ghost/intern/GHOST_ISystem.cpp
@@ -114,7 +114,7 @@ GHOST_TSuccess GHOST_ISystem::createSystemBackground()
   GHOST_TSuccess success;
   if (!m_system) {
 #if !defined(WITH_HEADLESS)
-    /* Try to create a offscreen render surface with the graphical systems. */
+    /* Try to create a off-screen render surface with the graphical systems. */
     success = createSystem();
     if (success) {
       return success;
diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c
index e2e0b4227e3..b03d226964c 100644
--- a/source/blender/blenkernel/intern/tracking_stabilize.c
+++ b/source/blender/blenkernel/intern/tracking_stabilize.c
@@ -1342,7 +1342,7 @@ ImBuf *BKE_tracking_stabilize_frame(
     return ibuf;
   }
 
-  /* Allocate frame for stabilization result, copy alpha mode and colorspace. */
+  /* Allocate frame for stabilization result, copy alpha mode and color-space. */
   ibuf_flags = 0;
   if (ibuf->rect) {
     ibuf_flags |= IB_rect;
diff --git a/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh b/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
index bb25f6184d4..3facb904a57 100644
--- a/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
+++ b/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
@@ -38,7 +38,7 @@ constexpr eGPUSamplerState with_filter = GPU_SAMPLER_FILTER;
 enum eDebugMode : uint32_t {
   DEBUG_NONE = 0u,
   /**
-   * Gradient showing light evaluation hotspots.
+   * Gradient showing light evaluation hot-spots.
    */
   DEBUG_LIGHT_CULLING = 1u,
   /**
@@ -46,7 +46,7 @@ enum eDebugMode : uint32_t {
    */
   DEBUG_HIZ_VALIDATION = 2u,
   /**
-   * Tilemaps to screen. Is also present in other modes.
+   * Tile-maps to screen. Is also present in other modes.
    * - Black pixels, no pages allocated.
    * - Green pixels, pages cached.
    * - Red pixels, pages allocated.
@@ -57,8 +57,8 @@ enum eDebugMode : uint32_t {
    */
   DEBUG_SHADOW_PAGES = 11u,
   /**
-   * Outputs random color per tilemap (or tilemap level). Validates tilemaps coverage.
-   * Black means not covered by any tilemaps LOD of the shadow.
+   * Outputs random color per tile-map (or tile-map level). Validates tile-maps coverage.
+   * Black means not covered by any tile-maps LOD of the shadow.
    */
   DEBUG_SHADOW_LOD = 12u,
   /**
@@ -67,7 +67,7 @@ enum eDebugMode : uint32_t {
    */
   DEBUG_SHADOW_PAGE_ALLOCATION = 13u,
   /**
-   * Outputs the tilemap atlas. Default tilemap is too big for the usual screen resolution.
+   * Outputs the tile-map atlas. Default tile-map is too big for the usual screen resolution.
    * Try lowering SHADOW_TILEMAP_PER_ROW and SHADOW_MAX_TILEMAP before using this option.
    */
   DEBUG_SHADOW_TILE_ALLOCATION = 14u,
diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h
index 5efeeaa29e1..1e220d33ff4 100644
--- a/source/blender/editors/include/ED_sculpt.h
+++ b/source/blender/editors/include/ED_sculpt.h
@@ -42,9 +42,10 @@ void ED_sculpt_end_transform(struct bContext *C, struct Object *ob);
 /** Export for ED_undo_sys. */
 void ED_sculpt_undosys_type(struct UndoType *ut);
 
-/* Pushes an undo step using the operator name.  This is necassary for
+/**
+ * Pushes an undo step using the operator name. This is necessary for
  * redo panels to work; operators that do not support that may use
- * ED_sculpt_undo_geometry_begin_ex instead if so desired.
+ * #ED_sculpt_undo_geometry_begin_ex instead if so desired.
  */
 void ED_sculpt_undo_geometry_begin(struct Object *ob, const struct wmOperator *op);
 void ED_sculpt_undo_geometry_begin_ex(struct Object *ob, const char *name);
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index d9f40fedf2b..e4bba135518 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -1493,14 +1493,15 @@ SculptUndoNode *SCULPT_undo_push_node(Object *ob, PBVHNode *node, SculptUndoType
 SculptUndoNode *SCULPT_undo_get_node(PBVHNode *node, SculptUndoType type);
 SculptUndoNode *SCULPT_undo_get_first_node(void);
 
-/* Pushes an undo step using the operator name.  This is necassary for
+/**
+ * Pushes an undo step using the operator name. This is necessary for
  * redo panels to work; operators that do not support that may use
- * SCULPT_undo_push_begin_ex instead if so desired.
+ * #SCULPT_undo_push_begin_ex instead if so desired.
  */
 void SCULPT_undo_push_begin(struct Object *ob, const struct wmOperator *op);
 
 /**
- * NOTE: SCULPT_undo_push_begin is preferred since `name`
+ * NOTE: #SCULPT_undo_push_begin is preferred since `name`
  * must match operator name for redo panels to work.
  */
 void SCULPT_undo_push_begin_ex(struct Object *ob, const char *name);



More information about the Bf-blender-cvs mailing list