diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-01-25 07:38:08 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-01-25 07:38:08 +0300 |
commit | ee19d9a24e422bea12a227c4eda5b63ee234f7ef (patch) | |
tree | 39a7b36e512ae360e6f9d67414c9222c8af75e98 /source/blender/src/transform.c | |
parent | 7d157e2cd065080ab7e81b0e0d5f94a87c5c8f75 (diff) |
=== Mirror Tool ===
Fix call order mix up.
That's what I get for doing "cleanup" before a commit.
Tested as working ok with this.
Diffstat (limited to 'source/blender/src/transform.c')
-rw-r--r-- | source/blender/src/transform.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 498b546ba57..1855ad3d147 100644 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -4055,7 +4055,6 @@ void initMirror(TransInfo *t) } t->transform = Mirror; - t->fac = 0.1f; } int Mirror(TransInfo *t, short mval[2]) @@ -4073,16 +4072,16 @@ int Mirror(TransInfo *t, short mval[2]) /* if an axis has been selected */ if (t->con.mode & CON_APPLY) { + size[0] = size[1] = size[2] = -1; + + SizeToMat3(size, mat); + if (t->con.applySize) { t->con.applySize(t, NULL, mat); } sprintf(str, "Mirror%s", t->con.text); - size[0] = size[1] = size[2] = -1; - - SizeToMat3(size, mat); - for(i = 0, td=t->data; i < t->total; i++, td++) { if (td->flag & TD_NOACTION) break; |