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

Campbell Barton noreply at git.blender.org
Mon Sep 27 13:05:27 CEST 2021


Commit: e87783a5ec1ee10d7471aaf29e3861fda4ab9918
Author: Campbell Barton
Date:   Mon Sep 27 21:01:48 2021 +1000
Branches: master
https://developer.blender.org/rBe87783a5ec1ee10d7471aaf29e3861fda4ab9918

Cleanup: spelling in comments

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

M	intern/ghost/GHOST_IWindow.h
M	source/blender/blenloader/intern/versioning_userdef.c
M	source/blender/draw/engines/overlay/overlay_extra.c
M	source/blender/draw/intern/draw_cache_impl_particles.c
M	source/blender/editors/space_view3d/view3d_edit.c
M	source/creator/creator_signals.c

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

diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h
index 5f9bd808c8c..91f576ca304 100644
--- a/intern/ghost/GHOST_IWindow.h
+++ b/intern/ghost/GHOST_IWindow.h
@@ -40,7 +40,7 @@
  * There are two coordinate systems:
  *
  * - The screen coordinate system. The origin of the screen is located in the
- *   upper left corner of the screen.</li>
+ *   upper left corner of the screen.
  * - The client rectangle coordinate system. The client rectangle of a window
  *   is the area that is drawable by the application (excluding title bars etc.).
  */
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index f4853ff803f..a0f35d32a7c 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -728,7 +728,7 @@ void blo_do_versions_userdef(UserDef *userdef)
     }
   }
 
-  /* patch to set Dupli Lightprobes and Grease Pencil */
+  /* Patch to set dupli light-probes and grease-pencil. */
   if (!USER_VERSION_ATLEAST(280, 58)) {
     userdef->dupflag |= USER_DUP_LIGHTPROBE;
     userdef->dupflag |= USER_DUP_GPENCIL;
diff --git a/source/blender/draw/engines/overlay/overlay_extra.c b/source/blender/draw/engines/overlay/overlay_extra.c
index 8f9db7f6f13..98db7136398 100644
--- a/source/blender/draw/engines/overlay/overlay_extra.c
+++ b/source/blender/draw/engines/overlay/overlay_extra.c
@@ -696,7 +696,7 @@ void OVERLAY_light_cache_populate(OVERLAY_Data *vedata, Object *ob)
 /** \} */
 
 /* -------------------------------------------------------------------- */
-/** \name Lightprobe
+/** \name Light-probe
  * \{ */
 
 void OVERLAY_lightprobe_cache_populate(OVERLAY_Data *vedata, Object *ob)
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c
index 087d88f4b1f..96bdca7d935 100644
--- a/source/blender/draw/intern/draw_cache_impl_particles.c
+++ b/source/blender/draw/intern/draw_cache_impl_particles.c
@@ -1132,7 +1132,7 @@ static void particle_batch_cache_ensure_procedural_pos(PTCacheEdit *edit,
     cache->point_tex = GPU_texture_create_from_vertbuf("part_point", cache->proc_point_buf);
   }
 
-  /* Checking hair length seperatly, only allocating gpu memory when needed */
+  /* Checking hair length separately, only allocating gpu memory when needed. */
   if (gpu_material && cache->proc_length_buf != NULL && cache->length_tex == NULL) {
     ListBase gpu_attrs = GPU_material_attributes(gpu_material);
     LISTBASE_FOREACH (GPUMaterialAttribute *, attr, &gpu_attrs) {
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 817e2739573..aced0ac3a6e 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -4409,7 +4409,7 @@ static int viewroll_modal(bContext *C, wmOperator *op, const wmEvent *event)
     }
   }
   else if (ELEM(event->type, EVT_ESCKEY, RIGHTMOUSE)) {
-    /* Note this does not remove autokeys on locked cameras. */
+    /* Note this does not remove auto-keys on locked cameras. */
     copy_qt_qt(vod->rv3d->viewquat, vod->init.quat);
     ED_view3d_camera_lock_sync(vod->depsgraph, vod->v3d, vod->rv3d);
     viewops_data_free(C, op);
diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c
index 29e12a96fe1..5604fb4c58d 100644
--- a/source/creator/creator_signals.c
+++ b/source/creator/creator_signals.c
@@ -79,7 +79,7 @@ static void sig_handle_fpe(int UNUSED(sig))
 }
 #  endif
 
-/* handling ctrl-c event in console */
+/* Handling `Ctrl-C` event in the console. */
 #  if !defined(WITH_HEADLESS)
 static void sig_handle_blender_esc(int sig)
 {



More information about the Bf-blender-cvs mailing list