Cleanup: spelling
This commit is contained in:
parent
179226977b
commit
ec9e2dc3c0
|
@ -4181,7 +4181,7 @@ bool CustomData_verify_versions(struct CustomData *data, int index)
|
|||
if (!typeInfo->defaultname && (index > 0) && data->layers[index - 1].type == layer->type) {
|
||||
keeplayer = false; /* multiple layers of which we only support one */
|
||||
}
|
||||
/* This is a pre-emptive fix for cases that should not happen
|
||||
/* This is a preemptive fix for cases that should not happen
|
||||
* (layers that should not be written in .blend files),
|
||||
* but can happen due to bugs (see e.g. T62318).
|
||||
* Also for forward compatibility, in future,
|
||||
|
|
|
@ -2691,7 +2691,7 @@ static void psys_thread_create_path(ParticleTask *task,
|
|||
pa = &psys->particles[cpa->parent];
|
||||
par = pcache[cpa->parent];
|
||||
|
||||
/* If particle is unexisting, try to pick a viable parent from particles
|
||||
/* If particle is non-existing, try to pick a viable parent from particles
|
||||
* used for interpolation. */
|
||||
for (k = 0; k < 4 && pa && (pa->flag & PARS_UNEXIST); k++) {
|
||||
if (cpa->pa[k] >= 0) {
|
||||
|
|
|
@ -1129,8 +1129,8 @@ static void stabilization_data_to_mat4(float pixel_aspect,
|
|||
}
|
||||
|
||||
/* Calculate scale factor necessary to eliminate black image areas
|
||||
* caused by the compensating movements of the stabilizator.
|
||||
* This function visits every frame where stabilisation data is
|
||||
* caused by the compensating movements of the stabilizer.
|
||||
* This function visits every frame where stabilization data is
|
||||
* available and determines the factor for this frame. The overall
|
||||
* largest factor found is returned as result.
|
||||
*
|
||||
|
|
|
@ -208,8 +208,8 @@ void ED_view3d_cameracontrol_update(View3DCameraControl *vctrl,
|
|||
const bool do_rotate,
|
||||
const bool do_translate)
|
||||
{
|
||||
/* we are in camera view so apply the view ofs and quat to the view matrix and set the camera
|
||||
* to the view */
|
||||
/* We are in camera view so apply the view offset and rotation to the view matrix
|
||||
* and set the camera to the view. */
|
||||
|
||||
Scene *scene = vctrl->ctx_scene;
|
||||
View3D *v3d = vctrl->ctx_v3d;
|
||||
|
|
|
@ -150,9 +150,9 @@ static int gizmo_preselect_elem_test_select(bContext *C, wmGizmo *gz, const int
|
|||
}
|
||||
}
|
||||
|
||||
/* All actions use same vertex preselection */
|
||||
/* Retopology should always prioritize edge preselection. Only preselct a vertex when the
|
||||
* cursor is really close to it*/
|
||||
/* All actions use same vertex pre-selection. */
|
||||
/* Re-topology should always prioritize edge pre-selection.
|
||||
* Only pre-select a vertex when the cursor is really close to it. */
|
||||
if (eve_test) {
|
||||
BMVert *vert = (BMVert *)eve_test;
|
||||
float vert_p_co[3], vert_co[3];
|
||||
|
|
|
@ -7517,7 +7517,7 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
|
|||
else if (t->flag & T_POSE && (t->mode == TFM_BONESIZE)) {
|
||||
/* Handle the exception where for TFM_BONESIZE in edit mode we pretend to be
|
||||
* in pose mode (to use bone orientation matrix),
|
||||
* in that case we don't do operations like autokeyframing. */
|
||||
* in that case we don't do operations like auto-keyframing. */
|
||||
FOREACH_TRANS_DATA_CONTAINER (t, tc) {
|
||||
ob = tc->poseobj;
|
||||
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
|
||||
|
|
|
@ -158,8 +158,7 @@ static bool isDisabled(GpencilModifierData *md, int UNUSED(userRenderParams))
|
|||
/* The object type check is only needed here in case we have a placeholder
|
||||
* object assigned (because the library containing the armature is missing).
|
||||
*
|
||||
* In other cases it should be impossible to have a type missmatch.
|
||||
*/
|
||||
* In other cases it should be impossible to have a type mismatch. */
|
||||
return !mmd->object || mmd->object->type != OB_ARMATURE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue