Fix grab3d manipulator in a 2D group
Was taking scale into account twice.
This commit is contained in:
parent
53394c6018
commit
a2f2231014
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue