Cleanup: spelling
This commit is contained in:
parent
4bfa256ea4
commit
6706ae5712
|
@ -2272,7 +2272,7 @@ bool ED_curve_editfont_select_pick(
|
|||
}
|
||||
}
|
||||
|
||||
/* bias in pixels to cycle seletion */
|
||||
/* Bias in pixels to cycle selection. */
|
||||
if (i_iter == 0) {
|
||||
dist_sq_min += active_bias_px;
|
||||
}
|
||||
|
|
|
@ -5682,7 +5682,7 @@ static bool project_paint_op(void *state, const float lastpos[2], const float po
|
|||
}
|
||||
}
|
||||
|
||||
/* calculate pivot for rotation around seletion if needed */
|
||||
/* Calculate pivot for rotation around selection if needed. */
|
||||
if (U.uiflag & USER_ORBIT_SELECTION) {
|
||||
float w[3];
|
||||
int tri_index;
|
||||
|
|
|
@ -2332,8 +2332,8 @@ static void wpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
|
|||
|
||||
swap_m4m4(vc->rv3d->persmat, mat);
|
||||
|
||||
/* calculate pivot for rotation around seletion if needed */
|
||||
/* also needed for "Frame Selected" on last stroke */
|
||||
/* Calculate pivot for rotation around selection if needed.
|
||||
* also needed for "Frame Selected" on last stroke. */
|
||||
float loc_world[3];
|
||||
mul_v3_m4v3(loc_world, ob->obmat, ss->cache->true_location);
|
||||
paint_last_stroke_update(scene, loc_world);
|
||||
|
@ -3312,8 +3312,8 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
|
|||
vpd->smear.color_prev, vpd->smear.color_curr, sizeof(uint) * ((Mesh *)ob->data)->totloop);
|
||||
}
|
||||
|
||||
/* calculate pivot for rotation around seletion if needed */
|
||||
/* also needed for "Frame Selected" on last stroke */
|
||||
/* Calculate pivot for rotation around selection if needed.
|
||||
* also needed for "Frame Selected" on last stroke. */
|
||||
float loc_world[3];
|
||||
mul_v3_m4v3(loc_world, ob->obmat, ss->cache->true_location);
|
||||
paint_last_stroke_update(scene, loc_world);
|
||||
|
|
|
@ -1786,7 +1786,7 @@ static float brush_strength(const Sculpt *sd,
|
|||
case SCULPT_TOOL_LAYER:
|
||||
return alpha * flip * pressure * overlap * feather;
|
||||
case SCULPT_TOOL_CLOTH:
|
||||
/* Ex/pand is more sensible to strength as it keeps expanding the cloth when sculpting over
|
||||
/* Expand is more sensible to strength as it keeps expanding the cloth when sculpting over
|
||||
* the same vertices. */
|
||||
if (brush->cloth_deform_type == BRUSH_CLOTH_DEFORM_EXPAND) {
|
||||
return 0.1f * alpha * flip * pressure * overlap * feather;
|
||||
|
|
|
@ -408,9 +408,9 @@ static void cloth_brush_build_nodes_constraints(Sculpt *sd,
|
|||
{
|
||||
Brush *brush = BKE_paint_brush(&sd->paint);
|
||||
|
||||
/* TODO: Multithreaded needs to be disabled for this task until implementing the optimization of
|
||||
/* TODO: Multi-threaded needs to be disabled for this task until implementing the optimization of
|
||||
* storing the constraints per node. */
|
||||
/* Currently all constrains are added to the same global array which can't be accesed from
|
||||
/* Currently all constrains are added to the same global array which can't be accessed from
|
||||
* different threads. */
|
||||
PBVHParallelSettings settings;
|
||||
BKE_pbvh_parallel_range_settings(&settings, false, totnode);
|
||||
|
|
|
@ -1485,7 +1485,7 @@ static int mouse_graph_keys(bAnimContext *ac,
|
|||
if (!curves_only && ((nvi->fcu->flag & FCURVE_PROTECTED) == 0)) {
|
||||
/* only if there's keyframe */
|
||||
if (nvi->bezt) {
|
||||
bezt = nvi->bezt; /* used to check bezt seletion is set */
|
||||
bezt = nvi->bezt; /* Used to check `bezt` selection is set. */
|
||||
/* depends on selection mode */
|
||||
if (select_mode == SELECT_INVERT) {
|
||||
if (nvi->hpoint == NEAREST_HANDLE_KEY) {
|
||||
|
|
|
@ -57,8 +57,7 @@ typedef struct ImageFrame {
|
|||
* name sequence pattern. The files and directory are read from standard
|
||||
* fileselect operator properties.
|
||||
*
|
||||
* The output is a list of frame ranges, each containg a list of frames with
|
||||
* matching names.
|
||||
* The output is a list of frame ranges, each containing a list of frames with matching names.
|
||||
*/
|
||||
static void image_sequence_get_frame_ranges(wmOperator *op, ListBase *ranges)
|
||||
{
|
||||
|
|
|
@ -490,7 +490,7 @@ static void constraintSizeLim(TransInfo *t, TransData *td)
|
|||
/* -------------------------------------------------------------------- */
|
||||
/* Transform (Rotation Utils) */
|
||||
|
||||
/** \name Transform Rotaion Utils
|
||||
/** \name Transform Rotation Utils
|
||||
* \{ */
|
||||
/* Used by Transform Rotation and Transform Normal Rotation */
|
||||
void headerRotation(TransInfo *t, char str[UI_MAX_DRAW_STR], float final)
|
||||
|
|
Loading…
Reference in New Issue