Cleanup: spelling
This commit is contained in:
parent
b31d3d1202
commit
c46663ad66
|
@ -4629,7 +4629,7 @@ void BKE_nurb_direction_switch(Nurb *nu)
|
|||
bp1++;
|
||||
bp2--;
|
||||
}
|
||||
/* If there're odd number of points no need to touch coord of middle one,
|
||||
/* If there are odd number of points no need to touch coord of middle one,
|
||||
* but still need to change it's tilt.
|
||||
*/
|
||||
if (nu->pntsu & 1) {
|
||||
|
|
|
@ -769,8 +769,8 @@ void BKE_maskrasterize_handle_init(MaskRasterHandle *mr_handle,
|
|||
|
||||
BLI_assert(tot_diff_feather_points == tot_diff_point);
|
||||
|
||||
/* note: only added for convenience, we don't infact use these to scanfill,
|
||||
* only to create feather faces after scanfill */
|
||||
/* Note: only added for convenience, we don't in fact use these to scan-fill,
|
||||
* only to create feather faces after scan-fill. */
|
||||
for (j = 0; j < tot_diff_feather_points; j++) {
|
||||
copy_v2_v2(co_feather, diff_feather_points[j]);
|
||||
sf_vert = BLI_scanfill_vert_add(&sf_ctx, co_feather);
|
||||
|
|
|
@ -509,7 +509,7 @@ void BKE_tracking_clipboard_copy_tracks(MovieTracking *tracking, MovieTrackingOb
|
|||
}
|
||||
}
|
||||
|
||||
/* Check whether there're any tracks in the clipboard. */
|
||||
/* Check whether there are any tracks in the clipboard. */
|
||||
bool BKE_tracking_clipboard_has_tracks(void)
|
||||
{
|
||||
return (BLI_listbase_is_empty(&tracking_clipboard.tracks) == false);
|
||||
|
|
|
@ -4265,7 +4265,7 @@ void interp_weights_poly_v3(float *w, float v[][3], const int n, const float co[
|
|||
* to borders of face.
|
||||
* In that case, do simple linear interpolation between the two edge vertices */
|
||||
|
||||
/* 'd_next.len' is infact 'd_curr.len', just avoid copy to begin with */
|
||||
/* 'd_next.len' is in fact 'd_curr.len', just avoid copy to begin with */
|
||||
if (UNLIKELY(d_next.len < eps)) {
|
||||
ix_flag = IS_POINT_IX;
|
||||
break;
|
||||
|
@ -4350,7 +4350,7 @@ void interp_weights_poly_v2(float *w, float v[][2], const int n, const float co[
|
|||
* to borders of face. In that case,
|
||||
* do simple linear interpolation between the two edge vertices */
|
||||
|
||||
/* 'd_next.len' is infact 'd_curr.len', just avoid copy to begin with */
|
||||
/* 'd_next.len' is in fact 'd_curr.len', just avoid copy to begin with */
|
||||
if (UNLIKELY(d_next.len < eps)) {
|
||||
ix_flag = IS_POINT_IX;
|
||||
break;
|
||||
|
|
|
@ -515,8 +515,7 @@ static void draw_modifier__cycles(uiLayout *layout,
|
|||
RNA_pointer_create(fcurve_owner_id, &RNA_FModifierCycles, fcm, &ptr);
|
||||
|
||||
/* split into 2 columns
|
||||
* NOTE: the mode comboboxes shouldn't get labels, otherwise there isn't enough room
|
||||
*/
|
||||
* NOTE: the mode combination-boxes shouldn't get labels, otherwise there isn't enough room. */
|
||||
split = uiLayoutSplit(layout, 0.5f, false);
|
||||
|
||||
/* before range */
|
||||
|
|
|
@ -1753,21 +1753,21 @@ static void ui_selectcontext_apply(bContext *C,
|
|||
RNA_property_int_range(&but->rnapoin, prop, &min.i, &max.i);
|
||||
}
|
||||
else if (rna_type == PROP_ENUM) {
|
||||
/* not a delta infact */
|
||||
/* Not a delta in fact. */
|
||||
delta.i = RNA_property_enum_get(&but->rnapoin, prop);
|
||||
}
|
||||
else if (rna_type == PROP_BOOLEAN) {
|
||||
if (is_array) {
|
||||
/* not a delta infact */
|
||||
/* Not a delta in fact. */
|
||||
delta.b = RNA_property_boolean_get_index(&but->rnapoin, prop, index);
|
||||
}
|
||||
else {
|
||||
/* not a delta infact */
|
||||
/* Not a delta in fact. */
|
||||
delta.b = RNA_property_boolean_get(&but->rnapoin, prop);
|
||||
}
|
||||
}
|
||||
else if (rna_type == PROP_POINTER) {
|
||||
/* not a delta infact */
|
||||
/* Not a delta in fact. */
|
||||
delta.p = RNA_property_pointer_get(&but->rnapoin, prop);
|
||||
}
|
||||
|
||||
|
|
|
@ -456,7 +456,7 @@ bool ED_space_node_color_sample(
|
|||
|
||||
if (ibuf->rect_float) {
|
||||
fp = (ibuf->rect_float + (ibuf->channels) * (y * ibuf->x + x));
|
||||
/* IB_PROFILE_NONE is default but infact its linear */
|
||||
/* #IB_PROFILE_NONE is default but in fact its linear. */
|
||||
copy_v3_v3(r_col, fp);
|
||||
ret = true;
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ static void UVsToTransData(const float aspect[2],
|
|||
*/
|
||||
static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float aspect[2])
|
||||
{
|
||||
/* Mostly copied from editmesh_set_connectivity_distance. */
|
||||
/* Mostly copied from #editmesh_set_connectivity_distance. */
|
||||
BLI_LINKSTACK_DECLARE(queue, BMLoop *);
|
||||
|
||||
/* Any BM_ELEM_TAG'd loop is added to 'queue_next', this makes sure that we don't add things
|
||||
|
@ -110,7 +110,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
|
|||
BM_mesh_elem_index_ensure(bm, BM_LOOP);
|
||||
|
||||
BM_ITER_MESH (f, &fiter, bm, BM_FACES_OF_MESH) {
|
||||
/* Visable faces was tagged in createTransUVs. */
|
||||
/* Visible faces was tagged in #createTransUVs. */
|
||||
if (!BM_elem_flag_test(f, BM_ELEM_TAG)) {
|
||||
continue;
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
|
|||
if (l_connected == l_other) {
|
||||
continue;
|
||||
}
|
||||
/* Visable faces was tagged in createTransUVs. */
|
||||
/* Visible faces was tagged in #createTransUVs. */
|
||||
if (!BM_elem_flag_test(l_connected->f, BM_ELEM_TAG)) {
|
||||
continue;
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
|
|||
#ifndef NDEBUG
|
||||
/* Check that we didn't leave any loops tagged */
|
||||
BM_ITER_MESH (f, &fiter, bm, BM_FACES_OF_MESH) {
|
||||
/* Visable faces was tagged in createTransUVs. */
|
||||
/* Visible faces was tagged in #createTransUVs. */
|
||||
if (!BM_elem_flag_test(f, BM_ELEM_TAG)) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -394,7 +394,7 @@ class GrayImage : public FrsImage {
|
|||
|
||||
/*! Sets the array.
|
||||
* copy
|
||||
* If true, the array is copie, otherwise the pounsigneder is copied
|
||||
* If true, the array is copied, otherwise the pounsigneder is copied
|
||||
*/
|
||||
void setArray(float *lvl,
|
||||
unsigned width,
|
||||
|
|
|
@ -698,7 +698,7 @@ void colormanagement_init(void)
|
|||
OCIO_configRelease(config);
|
||||
}
|
||||
|
||||
/* If there're no valid display/views, use fallback mode. */
|
||||
/* If there are no valid display/views, use fallback mode. */
|
||||
if (global_tot_display == 0 || global_tot_view == 0) {
|
||||
printf("Color management: no displays/views in the config, using fallback mode instead\n");
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@ bool AnimationImporter::write_animation(const COLLADAFW::Animation *anim)
|
|||
animation_to_fcurves(curve);
|
||||
break;
|
||||
default:
|
||||
/* TODO there're also CARDINAL, HERMITE, BSPLINE and STEP types */
|
||||
/* TODO there are also CARDINAL, HERMITE, BSPLINE and STEP types. */
|
||||
fprintf(stderr,
|
||||
"CARDINAL, HERMITE and BSPLINE anim interpolation types not supported yet.\n");
|
||||
break;
|
||||
|
|
|
@ -367,7 +367,7 @@ static void rna_def_area(BlenderRNA *brna)
|
|||
RNA_def_property_update(prop, 0, "rna_Area_type_update");
|
||||
|
||||
prop = RNA_def_property(srna, "ui_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, DummyRNA_NULL_items); /* infact dummy */
|
||||
RNA_def_property_enum_items(prop, DummyRNA_NULL_items); /* in fact dummy */
|
||||
RNA_def_property_enum_default(prop, SPACE_VIEW3D << 16);
|
||||
RNA_def_property_enum_funcs(
|
||||
prop, "rna_Area_ui_type_get", "rna_Area_ui_type_set", "rna_Area_ui_type_itemf");
|
||||
|
|
Loading…
Reference in New Issue