Spelling error fixes

This commit is contained in:
Joshua Leung 2014-04-25 13:19:21 +12:00
parent 9863e71692
commit b1932477a7
4 changed files with 5 additions and 5 deletions

@ -1562,7 +1562,7 @@ bool calculateTransformCenter(bContext *C, int centerMode, float cent3d[3], floa
} }
/* aftertrans does insert ipos and action channels, and clears base flags, doesnt read transdata */ /* aftertrans does insert keyframes, and clears base flags; doesn't read transdata */
special_aftertrans_update(C, t); special_aftertrans_update(C, t);
postTrans(C, t); postTrans(C, t);
@ -2336,7 +2336,7 @@ int transformEnd(bContext *C, TransInfo *t)
exit_code = OPERATOR_FINISHED; exit_code = OPERATOR_FINISHED;
} }
/* aftertrans does insert keyframes, and clears base flags, doesnt read transdata */ /* aftertrans does insert keyframes, and clears base flags; doesn't read transdata */
special_aftertrans_update(C, t); special_aftertrans_update(C, t);
/* free data */ /* free data */

@ -404,7 +404,7 @@ static void recalcData_graphedit(TransInfo *t)
for (ale = anim_data.first; ale; ale = ale->next) { for (ale = anim_data.first; ale; ale = ale->next) {
FCurve *fcu = (FCurve *)ale->key_data; FCurve *fcu = (FCurve *)ale->key_data;
/* ignore unselected fcurves */ /* ignore FC-Curves without any selected verts */
if (!fcu_test_selected(fcu)) if (!fcu_test_selected(fcu))
continue; continue;

@ -232,7 +232,7 @@ static void InputAngle(TransInfo *UNUSED(t), MouseInput *mi, const int mval[2],
double *angle = mi->data; double *angle = mi->data;
/* use doubles here, to make sure a "1.0" (no rotation) doesnt become 9.999999e-01, which gives 0.02 for acos */ /* use doubles here, to make sure a "1.0" (no rotation) doesn't become 9.999999e-01, which gives 0.02 for acos */
double deler = (((dx1 * dx1 + dy1 * dy1) + double deler = (((dx1 * dx1 + dy1 * dy1) +
(dx2 * dx2 + dy2 * dy2) - (dx2 * dx2 + dy2 * dy2) -
(dx3 * dx3 + dy3 * dy3)) / (2.0 * ((A * B) ? (A * B) : 1.0))); (dx3 * dx3 + dy3 * dy3)) / (2.0 * ((A * B) ? (A * B) : 1.0)));

@ -1719,7 +1719,7 @@ static int manipulator_selectbuf(ScrArea *sa, ARegion *ar, const int mval[2], fl
glSelectBuffer(64, buffer); glSelectBuffer(64, buffer);
glRenderMode(GL_SELECT); glRenderMode(GL_SELECT);
glInitNames(); /* these two calls whatfor? It doesnt work otherwise */ glInitNames(); /* these two calls whatfor? It doesn't work otherwise */
glPushName(-2); glPushName(-2);
/* do the drawing */ /* do the drawing */