Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-20 13:49:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-20 13:49:54 +0400
commitc8db1e832d26e7b34ace2f36ff66b40d1195cb7c (patch)
treeba5f3b9d505bc422a09d45c1bbd7cac465e42324 /source/blender/editors/transform
parent88cf37e9bcb576c7192ec9e0f52caf7fda81d2d4 (diff)
minor edits for bmesh api
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 7bcf6ba58f1..6aee12c4b41 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -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;
}
}