diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-03 15:59:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-03 15:59:24 +0300 |
commit | f278d814fd7b23c58348524dee9f3b1d6e5e2167 (patch) | |
tree | b510552aa05f13932a3f916fb8cc44c22a9aa6ca /source/blender/blenkernel | |
parent | b1efea986d62c0332c3e4fcbca8a6a1846599c62 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_idtype.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 10 |
2 files changed, 7 insertions, 5 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; |