Fix grab3d manipulator in a 2D group

Was taking scale into account twice.
This commit is contained in:
Campbell Barton 2017-12-11 17:07:40 +11:00
parent 53394c6018
commit a2f2231014
1 changed files with 2 additions and 1 deletions

View File

@ -302,7 +302,8 @@ static int manipulator_grab_test_select(
return -1;
}
if (len_squared_v2(point_local) < SQUARE(mpr->scale_final)) {
/* The 'mpr->scale_final' is already applied when projecting. */
if (len_squared_v2(point_local) < 1.0f) {
return 0;
}