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-04-08 03:33:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-04-08 03:33:56 +0300
commit1ec2f8d1f22634fc171a88d739c96ee8406b6c29 (patch)
treec367dae522c4d25008b6df552db502d863830202
parent161c13e12be0c968808612010268e81c88327f65 (diff)
Cleanup: spelling
-rw-r--r--source/blender/blenkernel/intern/mesh_convert.c2
-rw-r--r--source/blender/blenloader/intern/readfile.c4
-rw-r--r--source/blender/editors/armature/armature_add.c11
-rw-r--r--source/blender/editors/undo/memfile_undo.c2
4 files changed, 9 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/mesh_convert.c b/source/blender/blenkernel/intern/mesh_convert.c
index e24718ebe30..28a32e1573b 100644
--- a/source/blender/blenkernel/intern/mesh_convert.c
+++ b/source/blender/blenkernel/intern/mesh_convert.c
@@ -1165,7 +1165,7 @@ Mesh *BKE_mesh_new_from_object(Depsgraph *depsgraph, Object *object, bool preser
* not cause ownership problems because evaluated object runtime is keeping track of the real
* ownership.
*
- * Here we are constructing a mesh which is supposed to be iondependent, which means no shared
+ * Here we are constructing a mesh which is supposed to be independent, which means no shared
* ownership is allowed, so we make sure edit mesh is reset to NULL (which is similar to as if
* one duplicates the objects and applies all the modifiers). */
new_mesh->edit_mesh = NULL;
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 6b67842bf1e..898f318f60b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2838,7 +2838,7 @@ static int direct_link_id_restore_recalc(const FileData *fd,
recalc |= direct_link_id_restore_recalc_exceptions(id_current);
/* Evaluations for the current state that have not been performed yet
- * by the time we are perfoming this undo step. */
+ * by the time we are performing this undo step. */
recalc |= id_current->recalc;
/* Tags that were set between the target state and the current state,
@@ -9672,7 +9672,7 @@ static BHead *read_libblock(FileData *fd,
const bool placeholder_set_indirect_extern,
ID **r_id)
{
- /* First attemp to restore existing datablocks for undo.
+ /* First attempt to restore existing datablocks for undo.
* When datablocks are changed but still exist, we restore them at the old
* address and inherit recalc flags for the dependency graph. */
ID *id_old = NULL;
diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c
index 3fce2376b40..dfb274fdefe 100644
--- a/source/blender/editors/armature/armature_add.c
+++ b/source/blender/editors/armature/armature_add.c
@@ -732,9 +732,8 @@ static void updateDuplicateTransformConstraintSettings(Object *ob,
mul_m4_v3(target_mat, trans->to_min_rot);
mul_m4_v3(target_mat, trans->to_max_rot);
- /* TODO This does not support euler order, but doing so will make this way more complex.
- * For now we have decided to not support all cornercases and advanced setups. (sebpa)
- */
+ /* TODO(sebpa): This does not support euler order, but doing so will make this way more complex.
+ * For now we have decided to not support all corner cases and advanced setups. */
/* Helper variables to denote the axis in trans->map */
const char X = 0;
@@ -1181,9 +1180,9 @@ static int armature_symmetrize_exec(bContext *C, wmOperator *op)
ebone_iter = ebone_iter->next) {
if (EBONE_VISIBLE(arm, ebone_iter) && (ebone_iter->flag & BONE_SELECTED)) {
if (ebone_iter->temp.ebone != NULL) {
- /* will be set if the mirror bone already exists (no need to make a new one)
- * but we do need to make sure that the pchan settings (constraints etc) is syncronized
- */
+ /* This will be set if the mirror bone already exists (no need to make a new one)
+ * but we do need to make sure that the 'pchan' settings (constraints etc)
+ * is synchronized. */
bPoseChannel *pchan;
/* Make sure we clean up the old data before overwriting it */
pchan = BKE_pose_channel_verify(obedit->pose, ebone_iter->temp.ebone->name);
diff --git a/source/blender/editors/undo/memfile_undo.c b/source/blender/editors/undo/memfile_undo.c
index a5c503fec90..ebd5b2272b1 100644
--- a/source/blender/editors/undo/memfile_undo.c
+++ b/source/blender/editors/undo/memfile_undo.c
@@ -219,7 +219,7 @@ static void memfile_undosys_step_decode(struct bContext *C,
bmain, id, memfile_undosys_step_id_reused_cb, bmain, IDWALK_READONLY);
}
- /* Tag depsgraph to update datablock for changes that happend between the
+ /* Tag depsgraph to update data-block for changes that happened between the
* current and the target state, see direct_link_id_restore_recalc(). */
if (id->recalc) {
DEG_id_tag_update_ex(bmain, id, id->recalc);