Crash Fix: Mirror Tool crashed when there was no selection (stupid lack of check).

This commit is contained in:
2005-05-29 09:57:51 +00:00
parent fad9e3b979
commit 0bd69e6616

View File

@@ -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;