diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-05-29 13:57:51 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-05-29 13:57:51 +0400 |
commit | 0bd69e6616f59b8a4b02ba2ced46c24793b14be3 (patch) | |
tree | 04f4b4d6c14a54ef0b392b348ae8b3a8c2e21268 /source/blender/src/transform.c | |
parent | fad9e3b97923905f616dc050528c97b33a178d88 (diff) |
Crash Fix: Mirror Tool crashed when there was no selection (stupid lack of check).
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 450f44c90a5..2d258c8e06e 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -2131,6 +2131,11 @@ void Mirror(short mode) initConstraint(&Trans); + if (Trans.total == 0) { + postTrans(&Trans); + return; + } + size[0] = size[1] = size[2] = 1.0f; td = Trans.data; |