[Bf-blender-cvs] [f278d814fd7] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Tue Nov 3 14:05:01 CET 2020


Commit: f278d814fd7b23c58348524dee9f3b1d6e5e2167
Author: Campbell Barton
Date:   Tue Nov 3 23:59:24 2020 +1100
Branches: master
https://developer.blender.org/rBf278d814fd7b23c58348524dee9f3b1d6e5e2167

Cleanup: spelling

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

M	source/blender/blenkernel/BKE_idtype.h
M	source/blender/blenkernel/intern/scene.c
M	source/blender/editors/space_file/filelist.c

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

diff --git a/source/blender/blenkernel/BKE_idtype.h b/source/blender/blenkernel/BKE_idtype.h
index 88b78a1c6cc..1298e3c2bbf 100644
--- a/source/blender/blenkernel/BKE_idtype.h
+++ b/source/blender/blenkernel/BKE_idtype.h
@@ -202,7 +202,7 @@ typedef struct IDTypeInfo {
   IDTypeBlendReadExpandFunction blend_read_expand;
 
   /**
-   * Allow an ID type to preserve some of its data accross (memfile) undo steps.
+   * Allow an ID type to preserve some of its data across (memfile) undo steps.
    *
    * \note Called from #setup_app_data when undoing or redoing a memfile step.
    */
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index 20006863aae..b2ae8ca306a 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -457,13 +457,15 @@ static void scene_foreach_rigidbodyworldSceneLooper(struct RigidBodyWorld *UNUSE
   BKE_lib_query_foreachid_process(data, id_pointer, cb_flag);
 }
 
-/* This code is shared by both the regular foreach_id looper, and the code trying to restore or
- * preserve ID pointers like brushes accross undos. */
+/**
+ * This code is shared by both the regular `foreach_id` looper, and the code trying to restore or
+ * preserve ID pointers like brushes across undoes.
+ */
 typedef enum eSceneForeachUndoPreserveProcess {
-  /* Undo when preserving toolsettings from old scene, we also want to try to preserve that ID
+  /* Undo when preserving tool-settings from old scene, we also want to try to preserve that ID
    * pointer from its old scene's value. */
   SCENE_FOREACH_UNDO_RESTORE,
-  /* Undo when preserving toolsettings from old scene, we want to keep the new value of that ID
+  /* Undo when preserving tool-settings from old scene, we want to keep the new value of that ID
    * pointer. */
   SCENE_FOREACH_UNDO_NO_RESTORE,
 } eSceneForeachUndoPreserveProcess;
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 24b8d4deca0..9e51b6ca4ba 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -1295,7 +1295,7 @@ static void filelist_cache_preview_runf(TaskPool *__restrict pool, void *taskdat
 
   IMB_thumb_path_lock(preview->path);
   /* Always generate biggest preview size for now, it's simpler and avoids having to re-generate in
-   * case user switch to a biger preview size... */
+   * case user switch to a bigger preview size. */
   preview->img = IMB_thumb_manage(preview->path, THB_LARGE, source);
   IMB_thumb_path_unlock(preview->path);



More information about the Bf-blender-cvs mailing list