addition to r60465, check for individual centers when positioning the manipulator

This commit is contained in:
Campbell Barton
2013-10-01 05:39:41 +00:00
parent fe9a64ad6f
commit 86b28fc2fc

View File

@@ -429,11 +429,11 @@ int calc_manipulator_stats(const bContext *C)
}
else {
if (bezt->f1) {
calc_tw_center(scene, bezt->vec[0]);
calc_tw_center(scene, bezt->vec[(v3d->around == V3D_LOCAL) ? 1 : 0]);
totsel++;
}
if (bezt->f3) {
calc_tw_center(scene, bezt->vec[2]);
calc_tw_center(scene, bezt->vec[(v3d->around == V3D_LOCAL) ? 1 : 2]);
totsel++;
}
}