minor edits for bmesh api

This commit is contained in:
2012-07-20 09:49:54 +00:00
parent 88cf37e9bc
commit c8db1e832d
6 changed files with 23 additions and 20 deletions

View File

@@ -170,12 +170,12 @@ void convertViewVec(TransInfo *t, float r_vec[3], int dx, int dy)
if (t->options & CTX_MASK) {
/* clamp w/h, mask only */
if (mulx / divx < muly / divy) {
divx = divy = divx;
mulx = muly = mulx;
divy = divx;
muly = mulx;
}
else {
divx = divy = divy;
mulx = muly = muly;
divx = divy;
mulx = muly;
}
}