Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-03 15:59:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-03 15:59:24 +0300
commitf278d814fd7b23c58348524dee9f3b1d6e5e2167 (patch)
treeb510552aa05f13932a3f916fb8cc44c22a9aa6ca /source
parentb1efea986d62c0332c3e4fcbca8a6a1846599c62 (diff)
Cleanup: spelling
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/BKE_idtype.h2
-rw-r--r--source/blender/blenkernel/intern/scene.c10
-rw-r--r--source/blender/editors/space_file/filelist.c2
3 files changed, 8 insertions, 6 deletions
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);