Cleanup: spelling

This commit is contained in:
Campbell Barton 2020-04-08 10:33:56 +10:00
parent 161c13e12b
commit 1ec2f8d1f2
4 changed files with 9 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);