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
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/blender/blenkernel/intern/scene.c
parentb1efea986d62c0332c3e4fcbca8a6a1846599c62 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r--source/blender/blenkernel/intern/scene.c10
1 files changed, 6 insertions, 4 deletions
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;