diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-01 09:39:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-01 09:39:41 +0400 |
commit | 86b28fc2fccfae34a97d96c76be4d25fe8f9ea6b (patch) | |
tree | be3cf62a6d0f048ee5361fbfde82b1783f1f35a2 /source | |
parent | fe9a64ad6f4a982e2767987372db86ab25ea136f (diff) |
addition to r60465, check for individual centers when positioning the manipulator
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 6fecf0d6642..bcc4bb60bb7 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -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++; } } |