Cleanup: spelling
This commit is contained in:
@@ -2160,7 +2160,7 @@ static void sb_spring_force(Object *ob, int bpi, BodySpring *bs, float iks, floa
|
||||
// dfdx_spring(ia, ia, op, dir, bs->len, distance, -mpos);
|
||||
/* depending on my vel */
|
||||
// dfdv_goal(ia, ia, mvel); // well that ignores geometie
|
||||
if (bp2->goal < SOFTGOALSNAP) { /* ommit this bp when it snaps */
|
||||
if (bp2->goal < SOFTGOALSNAP) { /* omit this bp when it snaps */
|
||||
/* depending on other pos */
|
||||
// dfdx_spring(ia, ic, op, dir, bs->len, distance, mpos);
|
||||
/* depending on other vel */
|
||||
@@ -2257,7 +2257,7 @@ static int _softbody_calc_forces_slice_in_a_thread(Scene *scene, Object *ob, flo
|
||||
}
|
||||
/* naive ball self collision done */
|
||||
|
||||
if (_final_goal(ob, bp) < SOFTGOALSNAP) { /* ommit this bp when it snaps */
|
||||
if (_final_goal(ob, bp) < SOFTGOALSNAP) { /* omit this bp when it snaps */
|
||||
float auxvect[3];
|
||||
float velgoal[3];
|
||||
|
||||
@@ -2652,7 +2652,7 @@ static void softbody_calc_forces(Scene *scene, Object *ob, float forcetime, floa
|
||||
}
|
||||
/* naive ball self collision done */
|
||||
|
||||
if (_final_goal(ob, bp) < SOFTGOALSNAP) { /* ommit this bp when it snaps */
|
||||
if (_final_goal(ob, bp) < SOFTGOALSNAP) { /* omit this bp when it snaps */
|
||||
float auxvect[3];
|
||||
float velgoal[3];
|
||||
|
||||
|
||||
@@ -974,7 +974,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op)
|
||||
DAG_id_tag_update(&ob_other->id, OB_RECALC_OB | OB_RECALC_DATA);
|
||||
|
||||
copy_v3_v3(centn, cent);
|
||||
mul_mat3_m4_v3(ob_other->obmat, centn); /* ommit translation part */
|
||||
mul_mat3_m4_v3(ob_other->obmat, centn); /* omit translation part */
|
||||
add_v3_v3(ob_other->loc, centn);
|
||||
|
||||
BKE_object_where_is_calc(scene, ob_other);
|
||||
|
||||
@@ -758,7 +758,7 @@ bool paint_supports_smooth_stroke(Brush *br, PaintMode mode)
|
||||
|
||||
bool paint_supports_texture(PaintMode mode)
|
||||
{
|
||||
/* ommit: PAINT_WEIGHT, PAINT_SCULPT_UV, PAINT_INVALID */
|
||||
/* omit: PAINT_WEIGHT, PAINT_SCULPT_UV, PAINT_INVALID */
|
||||
return ELEM(mode, PAINT_SCULPT, PAINT_VERTEX, PAINT_TEXTURE_PROJECTIVE, PAINT_TEXTURE_2D);
|
||||
}
|
||||
|
||||
|
||||
@@ -420,7 +420,7 @@ static void python_script_error_jump_text(struct Text *text)
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
PyObject *md_dict;
|
||||
/* ommit other values, we only want the dict. */
|
||||
/* omit other values, we only want the dict. */
|
||||
} PyModuleObject;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2208,7 +2208,7 @@ static void WM_OT_read_homefile(wmOperatorType *ot)
|
||||
"Load user interface setup from the .blend file");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
|
||||
/* ommit poll to run in background mode */
|
||||
/* omit poll to run in background mode */
|
||||
}
|
||||
|
||||
static void WM_OT_read_factory_settings(wmOperatorType *ot)
|
||||
@@ -2219,7 +2219,7 @@ static void WM_OT_read_factory_settings(wmOperatorType *ot)
|
||||
|
||||
ot->invoke = WM_operator_confirm;
|
||||
ot->exec = wm_homefile_read_exec;
|
||||
/* ommit poll to run in background mode */
|
||||
/* omit poll to run in background mode */
|
||||
}
|
||||
|
||||
/* *************** open file **************** */
|
||||
@@ -2372,7 +2372,7 @@ static void WM_OT_open_mainfile(wmOperatorType *ot)
|
||||
ot->exec = wm_open_mainfile_exec;
|
||||
ot->check = wm_open_mainfile_check;
|
||||
ot->ui = wm_open_mainfile_ui;
|
||||
/* ommit window poll so this can work in background mode */
|
||||
/* omit window poll so this can work in background mode */
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE | BLENDERFILE, FILE_BLENDER, FILE_OPENFILE,
|
||||
WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY);
|
||||
@@ -2860,7 +2860,7 @@ static void WM_OT_save_as_mainfile(wmOperatorType *ot)
|
||||
ot->invoke = wm_save_as_mainfile_invoke;
|
||||
ot->exec = wm_save_as_mainfile_exec;
|
||||
ot->check = blend_save_check;
|
||||
/* ommit window poll so this can work in background mode */
|
||||
/* omit window poll so this can work in background mode */
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE | BLENDERFILE, FILE_BLENDER, FILE_SAVE,
|
||||
WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY);
|
||||
@@ -2936,7 +2936,7 @@ static void WM_OT_save_mainfile(wmOperatorType *ot)
|
||||
ot->invoke = wm_save_mainfile_invoke;
|
||||
ot->exec = wm_save_as_mainfile_exec;
|
||||
ot->check = blend_save_check;
|
||||
/* ommit window poll so this can work in background mode */
|
||||
/* omit window poll so this can work in background mode */
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE | BLENDERFILE, FILE_BLENDER, FILE_SAVE,
|
||||
WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY);
|
||||
|
||||
Reference in New Issue
Block a user