code cleanup

This commit is contained in:
2012-09-06 23:41:03 +00:00
parent 774cc0ab16
commit 0ecbc047e8
10 changed files with 26 additions and 30 deletions

View File

@@ -751,10 +751,8 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, wmEvent
float nor[3] = {0.0, 0.0, 0.0};
/* 2D normal calc */
float mval_f[2];
mval_f[0] = (float)event->mval[0];
mval_f[1] = (float)event->mval[1];
const float mval_f[2] = {(float)event->mval[0],
(float)event->mval[1]};
/* check for edges that are half selected, use for rotation */
done = FALSE;